35 return var_export( $this,
true );
39 return count( $this->value );
42 public function item( $i ) {
43 return $this->value[$i];
67 throw new MWException( __METHOD__ .
': not supported' );
71 throw new MWException( __METHOD__ .
': not supported' );
75 throw new MWException( __METHOD__ .
': not supported' );
splitArg()
Split a "<part>" node into an associative array containing: name PPNode name index String index value...
getName()
Get the name of this node.
getNextSibling()
Get the next sibling of any node.
getLength()
Returns the length of the array, or false if this is not an array-type node.
splitHeading()
Split an "<h>" node.
getChildrenOfType( $name)
Get all children of this tree node which have a given name.
getFirstChild()
Get the first child of a tree node.
getChildren()
Get an array-type node containing the children of this node.
item( $i)
Returns an item of an array-type node.
splitExt()
Split an "<ext>" node into an associative array containing name, attr, inner and close All values in ...
There are three types of nodes: