MediaWiki
REL1_20
|
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 1569 of file Preprocessor_DOM.php.
PPNode_DOM::__construct | ( | $ | node, |
$ | xpath = false |
||
) |
Definition at line 1576 of file Preprocessor_DOM.php.
Definition at line 1590 of file Preprocessor_DOM.php.
PPNode_DOM::getChildrenOfType | ( | $ | type | ) |
$type |
Implements PPNode.
Definition at line 1628 of file Preprocessor_DOM.php.
Implements PPNode.
Definition at line 1635 of file Preprocessor_DOM.php.
References getXPath().
Definition at line 1583 of file Preprocessor_DOM.php.
References $node.
Referenced by getLength(), and splitExt().
PPNode_DOM::item | ( | $ | i | ) |
$i |
Implements PPNode.
Definition at line 1647 of file Preprocessor_DOM.php.
Split a "<part>" node into an associative array containing:
Implements PPNode.
Definition at line 1671 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.
Implements PPNode.
Definition at line 1692 of file Preprocessor_DOM.php.
References $xpath, and getXPath().
Split a "<h>" node.
Implements PPNode.
Definition at line 1717 of file Preprocessor_DOM.php.
DOMElement PPNode_DOM::$node |
Definition at line 1573 of file Preprocessor_DOM.php.
Referenced by getXPath().
PPNode_DOM::$xpath |
Definition at line 1574 of file Preprocessor_DOM.php.
Referenced by splitExt().