|
MediaWiki
REL1_23
|


Public Member Functions | |
| __construct ($name) | |
| __toString () | |
| addChild ($node) | |
| getChildren () | |
| getChildrenOfType ($name) | |
| Get all children of this tree node which have a given name. | |
| getFirstChild () | |
| Get the first child of a tree node. | |
| getLength () | |
| getName () | |
| getNextSibling () | |
| Get the next sibling of any node. | |
| item ($i) | |
| splitArg () | |
| Split a "<part>" node into an associative array containing: | |
| splitExt () | |
| Split an "<ext>" node into an associative array containing name, attr, inner and close All values in the resulting array are PPNodes. | |
| splitHeading () | |
| Split an "<h>" node. | |
| splitTemplate () | |
| Split a "<template>" or "<tplarg>" node. | |
Static Public Member Functions | |
| static | newWithText ($name, $text) |
Public Attributes | |
| $firstChild | |
| $lastChild | |
| $name | |
| $nextSibling | |
Definition at line 1536 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::__construct | ( | $ | name | ) |
Definition at line 1539 of file Preprocessor_Hash.php.
Definition at line 1544 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::addChild | ( | $ | node | ) |
Definition at line 1572 of file Preprocessor_Hash.php.
Implements PPNode.
Definition at line 1584 of file Preprocessor_Hash.php.
References array().
| PPNode_Hash_Tree::getChildrenOfType | ( | $ | type | ) |
Get all children of this tree node which have a given name.
Returns an array-type node, or false if this is not a tree node.
Implements PPNode.
Definition at line 1600 of file Preprocessor_Hash.php.
Get the first child of a tree node.
False if there isn't one.
Implements PPNode.
Definition at line 1592 of file Preprocessor_Hash.php.
Implements PPNode.
Definition at line 1628 of file Preprocessor_Hash.php.
References name.
Get the next sibling of any node.
False if there isn't one
Implements PPNode.
Definition at line 1596 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::item | ( | $ | i | ) |
| $i |
Implements PPNode.
Definition at line 1621 of file Preprocessor_Hash.php.
| static PPNode_Hash_Tree::newWithText | ( | $ | name, |
| $ | text | ||
| ) | [static] |
| $name | |
| $text |
Definition at line 1566 of file Preprocessor_Hash.php.
Split a "<part>" node into an associative array containing:
| MWException |
Implements PPNode.
Definition at line 1641 of file Preprocessor_Hash.php.
Split an "<ext>" node into an associative array containing name, attr, inner and close All values in the resulting array are PPNodes.
Inner and close are optional.
| MWException |
Implements PPNode.
Definition at line 1675 of file Preprocessor_Hash.php.
Split an "<h>" node.
| MWException |
Implements PPNode.
Definition at line 1703 of file Preprocessor_Hash.php.
Split a "<template>" or "<tplarg>" node.
| MWException |
Definition at line 1730 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::$firstChild |
Definition at line 1537 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::$lastChild |
Definition at line 1537 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::$name |
Definition at line 1537 of file Preprocessor_Hash.php.
| PPNode_Hash_Tree::$nextSibling |
Definition at line 1537 of file Preprocessor_Hash.php.