Lines Matching refs:_

123     public $_ = array();  variable in simple_html_dom_node
191 if (count($this->_)>0)
194 foreach ($this->_ as $k=>$v)
217 if (isset($node->_[HDOM_INFO_INNER]))
219 $string .= $node->_[HDOM_INFO_INNER] . "'";
353 if (isset($this->_[HDOM_INFO_INNER])) return $this->_[HDOM_INFO_INNER];
354 … if (isset($this->_[HDOM_INFO_TEXT])) return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]);
387 if (isset($this->_[HDOM_INFO_OUTER])) return $this->_[HDOM_INFO_OUTER];
388 … if (isset($this->_[HDOM_INFO_TEXT])) return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]);
391 if ($this->dom && $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]])
393 $ret = $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]->makeup();
399 if (isset($this->_[HDOM_INFO_INNER]))
404 $ret .= $this->_[HDOM_INFO_INNER];
417 if (isset($this->_[HDOM_INFO_END]) && $this->_[HDOM_INFO_END]!=0)
425 if (isset($this->_[HDOM_INFO_INNER])) return $this->_[HDOM_INFO_INNER];
428 case HDOM_TYPE_TEXT: return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]);
469 … if (isset($this->_[HDOM_INFO_TEXT])) return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]);
482 $ret .= $this->_[HDOM_INFO_SPACE][$i][0];
487 switch ($this->_[HDOM_INFO_QUOTE][$i])
493 …$ret .= $key.$this->_[HDOM_INFO_SPACE][$i][1].'='.$this->_[HDOM_INFO_SPACE][$i][2].$quote.$val.$qu…
497 return $ret . $this->_[HDOM_INFO_ENDSPACE] . '>';
514 if (!isset($this->_[HDOM_INFO_BEGIN])) return array();
516 $head = array($this->_[HDOM_INFO_BEGIN]=>1);
568 $ret[$c->_[HDOM_INFO_BEGIN]] = 1;
576 $end = (!empty($this->_[HDOM_INFO_END])) ? $this->_[HDOM_INFO_END] : 0;
579 while (!isset($parent->_[HDOM_INFO_END]) && $parent!==null) {
583 $end += $parent->_[HDOM_INFO_END];
586 for ($i=$this->_[HDOM_INFO_BEGIN]+1; $i<$end; ++$i) {
736 case 'outertext': return $this->_[HDOM_INFO_OUTER] = $value;
738 if (isset($this->_[HDOM_INFO_TEXT])) return $this->_[HDOM_INFO_TEXT] = $value;
739 return $this->_[HDOM_INFO_INNER] = $value;
742 $this->_[HDOM_INFO_SPACE][] = array(' ', '', '');
743 $this->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_DOUBLE;
1069 $this->root->_[HDOM_INFO_END] = $this->cursor;
1162 $this->root->_[HDOM_INFO_BEGIN] = -1;
1179 $node->_[HDOM_INFO_TEXT] = $s;
1262 $this->root->_[HDOM_INFO_END] = $this->cursor;
1288 $this->parent->_[HDOM_INFO_END] = 0;
1297 $this->parent->_[HDOM_INFO_END] = $this->cursor;
1303 $this->parent->_[HDOM_INFO_END] = 0;
1312 $this->parent->_[HDOM_INFO_END] = $this->cursor;
1318 $this->parent->_[HDOM_INFO_END] = 0;
1325 $this->parent->_[HDOM_INFO_END] = $this->cursor;
1333 $node->_[HDOM_INFO_BEGIN] = $this->cursor;
1340 $node->_[HDOM_INFO_TEXT] = '<' . $tag . $this->copy_until_char('>');
1349 if ($this->char==='>') $node->_[HDOM_INFO_TEXT].='>';
1358 $node->_[HDOM_INFO_TEXT] = $tag;
1365 $node->_[HDOM_INFO_TEXT] = '<' . $tag . $this->copy_until('<>');
1371 if ($this->char==='>') $node->_[HDOM_INFO_TEXT].='>';
1387 $this->parent->_[HDOM_INFO_END] = 0;
1414 $node->_[HDOM_INFO_END] = 0;
1415 $node->_[HDOM_INFO_TEXT] = '<'.$tag . $space[0] . $name;
1426 $node->_[HDOM_INFO_END] = 0;
1427 … $node->_[HDOM_INFO_TEXT] = substr($this->doc, $begin_tag_pos, $this->pos-$begin_tag_pos-1);
1444 $node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_NO;
1448 $node->_[HDOM_INFO_SPACE][] = $space;
1456 $node->_[HDOM_INFO_ENDSPACE] = $space[0];
1461 $node->_[HDOM_INFO_ENDSPACE] .= '/';
1462 $node->_[HDOM_INFO_END] = 0;
1476 $node->_[HDOM_INFO_INNER] = $this->default_br_text;
1495 $node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_DOUBLE;
1501 $node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_SINGLE;
1507 $node->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_NO;
1535 $node->_[HDOM_INFO_TEXT] = '</' . $tag . '>';