MediaWiki
1.27.0
|
Public Member Functions | |
__construct ($name) | |
__toString () | |
addChild ($node) | |
getChildren () | |
getChildrenOfType ($name) | |
Get all children of this tree node which have a given name. More... | |
getFirstChild () | |
Get the first child of a tree node. More... | |
getLength () | |
getName () | |
getNextSibling () | |
Get the next sibling of any node. More... | |
item ($i) | |
splitArg () | |
Split a "<part>" node into an associative array containing: More... | |
splitExt () | |
Split an "<ext>" node into an associative array containing name, attr, inner and close All values in the resulting array are PPNodes. More... | |
splitHeading () | |
Split an "<h>" node. More... | |
splitTemplate () | |
Split a "<template>" or "<tplarg>" node. More... | |
Static Public Member Functions | |
static | newWithText ($name, $text) |
Public Attributes | |
$firstChild | |
$lastChild | |
$name | |
$nextSibling | |
Definition at line 1689 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::__construct | ( | $name | ) |
Definition at line 1694 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::__toString | ( | ) |
Definition at line 1699 of file Preprocessor_Hash.php.
References $attribs.
PPNode_Hash_Tree::addChild | ( | $node | ) |
Definition at line 1727 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::getChildren | ( | ) |
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.
string | $type |
Implements PPNode.
Definition at line 1755 of file Preprocessor_Hash.php.
References $name.
PPNode_Hash_Tree::getFirstChild | ( | ) |
Get the first child of a tree node.
False if there isn't one.
Implements PPNode.
Definition at line 1747 of file Preprocessor_Hash.php.
References $firstChild.
PPNode_Hash_Tree::getLength | ( | ) |
PPNode_Hash_Tree::getName | ( | ) |
Implements PPNode.
Definition at line 1783 of file Preprocessor_Hash.php.
References $name.
PPNode_Hash_Tree::getNextSibling | ( | ) |
Get the next sibling of any node.
False if there isn't one
Implements PPNode.
Definition at line 1751 of file Preprocessor_Hash.php.
References $nextSibling.
PPNode_Hash_Tree::item | ( | $i | ) |
int | $i |
Implements PPNode.
Definition at line 1776 of file Preprocessor_Hash.php.
|
static |
string | $name | |
string | $text |
Definition at line 1721 of file Preprocessor_Hash.php.
References $name.
Referenced by PPDAccum_Hash\addNodeWithText(), and Preprocessor_Hash\preprocessToObj().
PPNode_Hash_Tree::splitArg | ( | ) |
Split a "<part>" node into an associative array containing:
MWException |
Implements PPNode.
Definition at line 1796 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::splitExt | ( | ) |
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 1830 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::splitHeading | ( | ) |
Split an "<h>" node.
MWException |
Implements PPNode.
Definition at line 1858 of file Preprocessor_Hash.php.
References name.
PPNode_Hash_Tree::splitTemplate | ( | ) |
Split a "<template>" or "<tplarg>" node.
MWException |
Definition at line 1885 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::$firstChild |
Definition at line 1692 of file Preprocessor_Hash.php.
Referenced by getFirstChild().
PPNode_Hash_Tree::$lastChild |
Definition at line 1692 of file Preprocessor_Hash.php.
PPNode_Hash_Tree::$name |
Definition at line 1692 of file Preprocessor_Hash.php.
Referenced by __construct(), getChildrenOfType(), getName(), and newWithText().
PPNode_Hash_Tree::$nextSibling |
Definition at line 1692 of file Preprocessor_Hash.php.
Referenced by getNextSibling().