Exemplo n.º 1
0
 /**
  * Append a tree node with text contents
  * @param string $name
  * @param string $value
  */
 public function addNodeWithText($name, $value)
 {
     $node = PPNode_Hash_Tree::newWithText($name, $value);
     $this->addNode($node);
 }
Exemplo n.º 2
0
 public function getNextSibling()
 {
     return PPNode_Hash_Tree::factory($this->store, $this->index + 1);
 }