Lines Matching refs:tag

128 	public $tag = 'text';  variable in imapmarkers\\simple_html_dom_node
158 echo str_repeat("\t", $depth) . $this->tag;
178 $string = $this->tag;
300 function find_ancestor_tag($tag) { argument
314 $debug_object->debug_log(2, 'Current tag is: ' . $ancestor->tag);
317 if ($ancestor->tag === $tag) {
351 if ($this->tag === 'text') {
357 $debug_object->debug_log(1, 'Innertext of tag: ' . $this->tag . $text);
360 if ($this->tag === 'root') {
385 if ($this->tag !== 'br') {
395 $ret .= '</' . $this->tag . '>';
415 if (strcasecmp($this->tag, 'script') === 0) {
418 if (strcasecmp($this->tag, 'style') === 0) {
432 if ($n->tag === 'p') {
441 if ($n->tag === 'span') {
462 $ret = '<' . $this->tag;
570 list($tag, $id, $class, $attributes, $cmb) = $selector;
617 if ($pass && $tag === 'text' && $node->tag === 'text') {
629 if ($pass && $tag !== '' && $tag !== $node->tag && $tag !== '*') {
698 if ($c->tag === $node->tag)
741 . $node->tag
1147 if ($this->tag !== 'img') {
1398 return $this->tag;
1651 $this->root->tag = 'root';
1833 $tag = $this->copy_until_char('>');
1836 if (($pos = strpos($tag, ' ')) !== false) {
1837 $tag = substr($tag, 0, $pos);
1840 $parent_lower = strtolower($this->parent->tag);
1841 $tag_lower = strtolower($tag);
1857 && strtolower($this->parent->tag) !== $tag_lower
1863 if (strtolower($this->parent->tag) !== $tag_lower) {
1871 return $this->as_text_node($tag);
1884 && strtolower($this->parent->tag) !== $tag_lower
1890 if (strtolower($this->parent->tag) !== $tag_lower) {
1893 return $this->as_text_node($tag);
1896 && strtolower($this->parent->parent->tag) === $tag_lower
1901 return $this->as_text_node($tag);
1920 $tag = $this->copy_until($this->token_slash); // Get tag name
1927 if (isset($tag[0]) && $tag[0] === '!') {
1928 $node->_[HDOM_INFO_TEXT] = '<' . $tag . $this->copy_until_char('>');
1930 if (isset($tag[2]) && $tag[1] === '-' && $tag[2] === '-') { // Comment ("<!--")
1932 $node->tag = 'comment';
1935 $node->tag = 'unknown';
1949 if ($pos = strpos($tag, '<') !== false) {
1950 $tag = '<' . substr($tag, 0, -1);
1951 $node->_[HDOM_INFO_TEXT] = $tag;
1958 if (!preg_match('/^\w[\w:-]*$/', $tag)) {
1959 $node->_[HDOM_INFO_TEXT] = '<' . $tag . $this->copy_until('<>');
1978 $tag_lower = strtolower($tag);
1979 $node->tag = ($this->lowercase) ? $tag_lower : $tag;
1984 while (isset($this->optional_closing_tags[$tag_lower][strtolower($this->parent->tag)])) {
2017 $node->_[HDOM_INFO_TEXT] = '<' . $tag . $space[0] . $name;
2018 $node->tag = 'text';
2027 $node->tag = 'text';
2085 if (!isset($this->self_closing_tags[strtolower($node->tag)])) {
2095 if ($node->tag === 'br') {
2153 protected function as_text_node($tag) { argument
2156 $node->_[HDOM_INFO_TEXT] = '</' . $tag . '>';