MediaWiki
REL1_19
|
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: name PPNode name index String index value PPNode value. | |
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 | |
$node | |
$xpath |
Definition at line 1530 of file Preprocessor_DOM.php.
PPNode_DOM::__construct | ( | $ | node, |
$ | xpath = false |
||
) |
Definition at line 1538 of file Preprocessor_DOM.php.
References $node.
Definition at line 1552 of file Preprocessor_DOM.php.
References $node.
Implements PPNode.
Definition at line 1567 of file Preprocessor_DOM.php.
Referenced by splitHeading().
PPNode_DOM::getChildrenOfType | ( | $ | type | ) |
$type |
Implements PPNode.
Definition at line 1590 of file Preprocessor_DOM.php.
References getXPath().
Implements PPNode.
Definition at line 1617 of file Preprocessor_DOM.php.
Referenced by splitHeading().
Definition at line 1545 of file Preprocessor_DOM.php.
Referenced by getChildrenOfType(), splitArg(), and splitExt().
PPNode_DOM::item | ( | $ | i | ) |
$i |
Implements PPNode.
Definition at line 1609 of file Preprocessor_DOM.php.
Split a <part> node into an associative array containing: name PPNode name index String index value PPNode value.
Implements PPNode.
Definition at line 1633 of file Preprocessor_DOM.php.
References $xpath, and getXPath().
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 1654 of file Preprocessor_DOM.php.
References $xpath, and getXPath().
Split a <h> node.
Implements PPNode.
Definition at line 1678 of file Preprocessor_DOM.php.
References getChildren(), and getName().
PPNode_DOM::$node |
Definition at line 1535 of file Preprocessor_DOM.php.
Referenced by __construct(), and __toString().
PPNode_DOM::$xpath |
Definition at line 1536 of file Preprocessor_DOM.php.
Referenced by splitArg(), and splitExt().