Go to the documentation of this file.
41 throw new MWException( __METHOD__ .
': invalid name in attribute descriptor' );
50 return "<@{$this->name}>" . htmlspecialchars( $this->
value ) .
"</@{$this->name}>";
77 public function item( $i ) {
82 throw new MWException( __METHOD__ .
': not supported' );
86 throw new MWException( __METHOD__ .
': not supported' );
90 throw new MWException( __METHOD__ .
': not supported' );
splitExt()
Split an "<ext>" node into an associative array containing name, attr, inner and close All values in ...
if( $inline) $status value
item( $i)
Returns an item of an array-type node.
getFirstChild()
Get the first child of a tree node.
splitHeading()
Split an "<h>" node.
getChildrenOfType( $name)
Get all children of this tree node which have a given name.
const CHILDREN
The offset of the child list within descriptors, used in some places for readability.
There are three types of nodes:
getLength()
Returns the length of the array, or false if this is not an array-type node.
getChildren()
Get an array-type node containing the children of this node.
getNextSibling()
Get the next sibling of any node.
getName()
Get the name of this node.
splitArg()
Split a "<part>" node into an associative array containing: name PPNode name index String index value...
__construct(array $store, $index)
Construct an object using the data from $store[$index].
static factory(array $store, $index)
Construct an appropriate PPNode_Hash_* object with a class that depends on what is at the relevant st...
const NAME
The offset of the name within descriptors, used in some places for readability.