Inherits Node.
Inherited by BodyNode.
Public Member Functions | |
| __construct ($parent, $qName, $attributes) | |
| addChildAbsolute (Node $node, $index) | |
| getIndexOf (Node $child) | |
| getNbChildren () | |
| getMinimalDeletedSet ($id, &$allDeleted, &$somethingDeleted) | |
| splitUntil (TagNode $parent, Node $split, $includeLeft) | |
| copyTree () | |
| getMatchRatio (TagNode $other) | |
| expandWhiteSpace () | |
| getLeftMostChild () | |
| getRightMostChild () | |
| isPre () | |
Static Public Member Functions | |
| static | toDiffLine (TagNode $node) |
Public Attributes | |
| $children = array() | |
| $qName | |
| $attributes = array() | |
| $openingTag | |
Static Public Attributes | |
| static | $blocks |
Private Member Functions | |
| removeChild ($index) | |
Represents an HTML tag.
Definition at line 105 of file Nodes.php.
| TagNode::__construct | ( | $ | parent, | |
| $ | qName, | |||
| $ | attributes | |||
| ) |
Definition at line 115 of file Nodes.php.
References $attributes, $key, Node::$parent, $qName, and Xml::openElement().
| TagNode::addChildAbsolute | ( | Node $ | node, | |
| $ | index | |||
| ) |
| TagNode::expandWhiteSpace | ( | ) |
| TagNode::getMinimalDeletedSet | ( | $ | id, | |
| &$ | allDeleted, | |||
| &$ | somethingDeleted | |||
| ) |
| TagNode::getNbChildren | ( | ) |
Definition at line 138 of file Nodes.php.
Referenced by expandWhiteSpace(), and getRightMostChild().
| TagNode::getRightMostChild | ( | ) |
| TagNode::$attributes = array() |
TagNode::$blocks [static] |
Initial value:
array('html', 'body','p','blockquote', 'h1', 'h2', 'h3', 'h4', 'h5', 'pre', 'div', 'ul', 'ol', 'li', 'table', 'tbody', 'tr', 'td', 'th', 'br')
Definition at line 227 of file Nodes.php.
Referenced by DomTreeBuilder::endElement(), and DomTreeBuilder::startElement().
| TagNode::$qName |
1.5.9