Manual:PPNode.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The PPNode interface provides access to the structure of tree nodes and to the contents of array nodes. Tree nodes have a name and contain other nodes as children. Array nodes also contain other nodes but are not considered part of a tree.

The PPNode interface does not provide access to the internal structure of leaf nodes, which contain the actual data. Access to leaf data is provided instead via two means:

  • PPFrame::expand() , which provides expanded text.
  • The PPNode::split*() functions, which provide metadata about certain types of tree node.

Public methods

  • getChildren()
  • getFirstChild()
  • getNextSibling()
  • getChildrenOfType()
  • getLength();
  • item()
  • getName()
  • splitArg()
  • splitExt()
  • splitHeading()

Implemented by