BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PPNode_DOM Class Reference
Inheritance diagram for PPNode_DOM:
Collaboration diagram for PPNode_DOM:

Public Member Functions

 __construct ($node, $xpath=false)
 
 getXPath ()
 
 __toString ()
 
 getChildren ()
 
 getFirstChild ()
 
 getNextSibling ()
 
 getChildrenOfType ($type)
 
 getLength ()
 
 item ($i)
 
 getName ()
 
 splitArg ()
 
 splitExt ()
 
 splitHeading ()
 

Public Attributes

 $node
 
 $xpath
 

Member Function Documentation

PPNode_DOM::getChildren ( )
Returns
bool|PPNode_DOM

Implements PPNode.

PPNode_DOM::getChildrenOfType (   $type)
Parameters
string$type
Returns
bool|PPNode_DOM

Implements PPNode.

PPNode_DOM::getFirstChild ( )
Returns
bool|PPNode_DOM

Implements PPNode.

PPNode_DOM::getLength ( )
Returns
int

Implements PPNode.

PPNode_DOM::getName ( )
Returns
string

Implements PPNode.

PPNode_DOM::getNextSibling ( )
Returns
bool|PPNode_DOM

Implements PPNode.

PPNode_DOM::getXPath ( )
Returns
DOMXPath
PPNode_DOM::item (   $i)
Parameters
int$i
Returns
bool|PPNode_DOM

Implements PPNode.

PPNode_DOM::splitArg ( )

Split a "<part>" node into an associative array containing:

Exceptions
MWException
Returns
array

Implements PPNode.

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.

Exceptions
MWException
Returns
array

Implements PPNode.

PPNode_DOM::splitHeading ( )

Split a "<h>" node

Exceptions
MWException
Returns
array

Implements PPNode.


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