Lines Matching defs:nodes

134 	public $nodes = array();
143 $dom->nodes[] = $this;
159 $this->nodes = null;
178 if ($this->nodes) {
179 foreach ($this->nodes as $node) {
226 $string .= ' nodes: ' . count($this->nodes);
241 // It fails to unset the current node from it's current parents nodes or
245 $this->parent->nodes[] = $this;
354 foreach ($this->nodes as $n) {
396 if ($this->dom && $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]) {
397 $ret = $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]->makeup();
405 } elseif ($this->nodes) {
406 foreach ($this->nodes as $n) {
436 // for some span tags, and some p tags) $this->nodes is set to NULL.
440 if (!is_null($this->nodes)) {
441 foreach ($this->nodes as $n) {
533 $n = ($k === -1) ? $this->dom->root : $this->dom->nodes[$k];
554 $found[] = $this->dom->nodes[$k];
569 $nodes = array();
584 // Get list of target nodes
587 $nodes = array_slice($this->dom->nodes, $nodes_start, $nodes_count, true);
589 $nodes = $this->children;
595 $nodes[] = $this->parent->children[$index];
600 $nodes = array_slice($this->parent->children, $index);
606 foreach($nodes as $node) {
609 // Skip root nodes
616 $ret[array_search($node, $this->dom->nodes, true)] = 1;
621 // Skip if node isn't a child node (i.e. text nodes)
738 . ' where nodes value is: '
1293 $nidx = array_search($node, $this->nodes, true);
1295 $didx = array_search($node, $this->dom->nodes, true);
1303 foreach($node->nodes as $entity) {
1304 $enidx = array_search($entity, $node->nodes, true);
1305 $edidx = array_search($entity, $node->dom->nodes, true);
1308 unset($node->nodes[$enidx]);
1309 unset($node->dom->nodes[$edidx]);
1313 unset($this->nodes[$nidx]);
1315 unset($this->dom->nodes[$didx]);
1393 public $nodes = array();
1591 if (isset($this->nodes)) {
1592 foreach ($this->nodes as $n) {
1640 $this->nodes = array();
2081 // since a br tag never has sub nodes, this works well.
2140 $this->parent->nodes[] = $node;
2333 return @end(str_get_html($value)->nodes);