MediaWiki  REL1_19
PPNode_DOM Class Reference
Inheritance diagram for PPNode_DOM:
Collaboration diagram for PPNode_DOM:

List of all members.

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

Detailed Description

Definition at line 1530 of file Preprocessor_DOM.php.


Constructor & Destructor Documentation

PPNode_DOM::__construct ( node,
xpath = false 
)

Definition at line 1538 of file Preprocessor_DOM.php.

References $node.


Member Function Documentation

Definition at line 1552 of file Preprocessor_DOM.php.

References $node.

Returns:
bool|PPNode_DOM

Implements PPNode.

Definition at line 1567 of file Preprocessor_DOM.php.

Referenced by splitHeading().

Here is the caller graph for this function:

Parameters:
$type
Returns:
bool|PPNode_DOM

Implements PPNode.

Definition at line 1590 of file Preprocessor_DOM.php.

References getXPath().

Here is the call graph for this function:

Returns:
bool|PPNode_DOM

Implements PPNode.

Definition at line 1574 of file Preprocessor_DOM.php.

Returns:
int

Implements PPNode.

Definition at line 1597 of file Preprocessor_DOM.php.

Returns:
string

Implements PPNode.

Definition at line 1617 of file Preprocessor_DOM.php.

Referenced by splitHeading().

Here is the caller graph for this function:

Returns:
bool|PPNode_DOM

Implements PPNode.

Definition at line 1581 of file Preprocessor_DOM.php.

Returns:
DOMXPath

Definition at line 1545 of file Preprocessor_DOM.php.

Referenced by getChildrenOfType(), splitArg(), and splitExt().

Here is the caller graph for this function:

PPNode_DOM::item ( i)
Parameters:
$i
Returns:
bool|PPNode_DOM

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.

Returns:
array

Implements PPNode.

Definition at line 1633 of file Preprocessor_DOM.php.

References $xpath, and getXPath().

Here is the call graph for this function:

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.

Returns:
array

Implements PPNode.

Definition at line 1654 of file Preprocessor_DOM.php.

References $xpath, and getXPath().

Here is the call graph for this function:

Split a <h> node.

Implements PPNode.

Definition at line 1678 of file Preprocessor_DOM.php.

References getChildren(), and getName().

Here is the call graph for this function:


Member Data Documentation

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().


The documentation for this class was generated from the following file: