Lines Matching refs:stack

1523                 $stack = 1;
1528 $stack++;
1530 $stack--;
1531 if (! $stack )
1539 $stack = 1;
1548 $stack = 1;
1552 $stack++;
1554 $stack--;
1555 if (! $stack )
1675 $new->elements = phpQuery::pq($newStack, $this->getDocumentID())->stack();
1724 $stack = array();
1729 foreach($this->stack(array(1, 9, 13)) as $k => $stackNode) {
1777 $stack[] = $node;
1786 $this->elements = $stack;
1817 $stack = array();
1947 if (! $this->elementsContainsNode($node, $stack))
1948 $stack[] = $node;
1950 $this->elements = $stack;
1968 $stack = array();
1971 $stack[] = $node;
1973 $stack[] = $node;
1975 $this->elements = $stack;
2007 $stack = array();
2011 $stack[] = $node;
2013 $this->elements = $stack;
2017 $this->elements = $this->not($selector)->stack();
2034 $stack = array();
2035 foreach($this->stack(1) as $el) {
2037 $stack[] = $el;
2039 $this->elements = $stack;
2253 $stack = $this->elements;
2256 return $stack ? $stack : null;
2257 return (bool)count($stack);
2304 $stack = array();
2311 foreach($this->stack() as $node) {
2398 $stack[] = $node;
2401 $this->elements = $stack;
2475 foreach($this->stack(1) as $node) {
2663 foreach($this->stack() as $node)
2674 foreach($this->stack() as $node)
2685 foreach($this->stack() as $node)
2696 foreach($this->stack(1) as $node)
2708 $stack = array();
2709 foreach($this->stack(1) as $el) {
2714 $stack[] = $node;
2717 return $this->newInstance($stack);
2727 foreach($this->stack(1) as $node) {
2749 foreach($this->stack(1) as $node) {
2930 foreach($this->stack(1) as $alreadyAdded => $node) {
3022 $stack = array();
3023 foreach($this->stack(1) as $node) {
3030 if ($this->elementsContainsNode($newNode, $stack))
3032 $stack[] = $newNode;
3036 $this->elements = $stack;
3491 $stack = array();
3493 foreach($this->stack() as $node) {
3499 $stack[] = $test;
3506 $this->elements = $stack;
3507 $stack = $this->filter($selector, true)->stack();
3510 return $stack;
3518 $stack = array();
3524 if (! $this->elementsContainsNode($node, $stack))
3525 $stack[] = $node;
3527 return $this->newInstance($stack);
3539 $stack = array();
3541 foreach($this->stack() as $node) {
3544 foreach($selector->stack() as $notNode) {
3549 $stack[] = $node;
3552 $stack[] = $node;
3555 $stack[] = $node;
3559 $orgStack = $this->stack();
3560 $matched = $this->filter($selector, true)->stack();
3570 $stack[] = $node;
3572 return $this->newInstance($stack);
3583 $stack = array();
3618 $stack = array();
3620 if ( $node->parentNode && ! $this->elementsContainsNode($node->parentNode, $stack) )
3621 $stack[] = $node->parentNode;
3623 $this->elements = $stack;
3634 $stack = array();
3643 if (! $this->elementsContainsNode($test, $stack)) {
3644 $stack[] = $test;
3650 $this->elements = $stack;
3660 public function stack($nodeTypes = null) { function in phpQueryObject
3723 foreach($this->stack(1) as $node) {
3773 foreach($this->stack(1) as $node) {
3796 foreach($this->stack(1) as $node) {
3827 foreach($this->stack(1) as $node) {
3845 foreach($node['option']->stack(1) as $option) {
3892 foreach($this->stack(1) as $node) {
3907 foreach($this->stack(1) as $node) {
3923 foreach($this->stack(1) as $node) {
3935 foreach($this->stack(1) as $node) {
3953 foreach($this->stack(1) as $node) {
3979 foreach($this->stack(1) as $node) {
4270 foreach($this->stack() as $node)