MediaWiki REL1_33
|
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 1897 of file Preprocessor_DOM.php.
PPNode_DOM::__construct | ( | $node, | |
$xpath = false |
|||
) |
Definition at line 1905 of file Preprocessor_DOM.php.
PPNode_DOM::__toString | ( | ) |
Definition at line 1919 of file Preprocessor_DOM.php.
PPNode_DOM::getChildren | ( | ) |
PPNode_DOM::getChildrenOfType | ( | $type | ) |
string | $type |
Implements PPNode.
Definition at line 1957 of file Preprocessor_DOM.php.
References $type.
PPNode_DOM::getFirstChild | ( | ) |
PPNode_DOM::getLength | ( | ) |
PPNode_DOM::getName | ( | ) |
PPNode_DOM::getNextSibling | ( | ) |
PPNode_DOM::getXPath | ( | ) |
Definition at line 1912 of file Preprocessor_DOM.php.
PPNode_DOM::item | ( | $i | ) |
int | $i |
Implements PPNode.
Definition at line 1976 of file Preprocessor_DOM.php.
PPNode_DOM::splitArg | ( | ) |
Split a "<part>" node into an associative array containing:
MWException |
Implements PPNode.
Definition at line 2001 of file Preprocessor_DOM.php.
References $name.
PPNode_DOM::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 2023 of file Preprocessor_DOM.php.
PPNode_DOM::splitHeading | ( | ) |
Split a "<h>" node.
MWException |
Implements PPNode.
Definition at line 2049 of file Preprocessor_DOM.php.
DOMElement PPNode_DOM::$node |
Definition at line 1902 of file Preprocessor_DOM.php.
PPNode_DOM::$xpath |
Definition at line 1903 of file Preprocessor_DOM.php.