MediaWiki
REL1_24
|
Public Member Functions | |
__construct ($node, $xpath=false) | |
__toString () | |
getChildren () | |
getChildrenOfType ($type) | |
getFirstChild () | |
getLength () | |
getName () | |
getNextSibling () | |
getXPath () | |
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 a "<h>" node. | |
Public Attributes | |
DOMElement | $node |
$xpath |
Definition at line 1769 of file Preprocessor_DOM.php.
PPNode_DOM::__construct | ( | $ | node, |
$ | xpath = false |
||
) |
Definition at line 1777 of file Preprocessor_DOM.php.
Definition at line 1791 of file Preprocessor_DOM.php.
PPNode_DOM::getChildrenOfType | ( | $ | type | ) |
string | $type |
Implements PPNode.
Definition at line 1829 of file Preprocessor_DOM.php.
Definition at line 1784 of file Preprocessor_DOM.php.
References $node.
Referenced by splitExt().
PPNode_DOM::item | ( | $ | i | ) |
int | $i |
Implements PPNode.
Definition at line 1848 of file Preprocessor_DOM.php.
Split a "<part>" node into an associative array containing:
MWException |
Implements PPNode.
Definition at line 1873 of file Preprocessor_DOM.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 1895 of file Preprocessor_DOM.php.
References $xpath, array(), and getXPath().
Split a "<h>" node.
MWException |
Implements PPNode.
Definition at line 1921 of file Preprocessor_DOM.php.
DOMElement PPNode_DOM::$node |
Definition at line 1774 of file Preprocessor_DOM.php.
Referenced by getXPath().
PPNode_DOM::$xpath |
Definition at line 1775 of file Preprocessor_DOM.php.
Referenced by splitExt().