Lines Matching defs:nodes

137 	public $nodes = array();
146 $dom->nodes[] = $this;
162 $this->nodes = null;
181 if ($this->nodes) {
182 foreach ($this->nodes as $node) {
229 $string .= ' nodes: ' . count($this->nodes);
244 // It fails to unset the current node from it's current parents nodes or
248 $this->parent->nodes[] = $this;
357 foreach ($this->nodes as $n) {
399 if ($this->dom && $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]) {
400 $ret = $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]->makeup();
408 } elseif ($this->nodes) {
409 foreach ($this->nodes as $n) {
439 // for some span tags, and some p tags) $this->nodes is set to NULL.
443 if (!is_null($this->nodes)) {
444 foreach ($this->nodes as $n) {
536 $n = ($k === -1) ? $this->dom->root : $this->dom->nodes[$k];
557 $found[] = $this->dom->nodes[$k];
572 $nodes = array();
587 // Get list of target nodes
590 $nodes = array_slice($this->dom->nodes, $nodes_start, $nodes_count, true);
592 $nodes = $this->children;
598 $nodes[] = $this->parent->children[$index];
603 $nodes = array_slice($this->parent->children, $index);
609 foreach($nodes as $node) {
612 // Skip root nodes
617 // Skip if node isn't a child node (i.e. text nodes)
734 . ' where nodes value is: '
1289 $nidx = array_search($node, $this->nodes, true);
1291 $didx = array_search($node, $this->dom->nodes, true);
1299 foreach($node->nodes as $entity) {
1300 $enidx = array_search($entity, $node->nodes, true);
1301 $edidx = array_search($entity, $node->dom->nodes, true);
1304 unset($node->nodes[$enidx]);
1305 unset($node->dom->nodes[$edidx]);
1309 unset($this->nodes[$nidx]);
1311 unset($this->dom->nodes[$didx]);
1389 public $nodes = array();
1585 if (isset($this->nodes)) {
1586 foreach ($this->nodes as $n) {
1634 $this->nodes = array();
2075 // since a br tag never has sub nodes, this works well.
2134 $this->parent->nodes[] = $node;
2327 return @end(str_get_html($value)->nodes);