name = substr( $descriptor[PPNode_Hash_Tree::NAME], 1 ); $this->value = $descriptor[PPNode_Hash_Tree::CHILDREN][0]; $this->store = $store; $this->index = $index; } public function __toString() { return "<@{$this->name}>" . htmlspecialchars( $this->value ) . "name}>"; } public function getName() { return $this->name; } public function getNextSibling() { return PPNode_Hash_Tree::factory( $this->store, $this->index + 1 ); } public function getChildren() { return false; } public function getFirstChild() { return false; } public function getChildrenOfType( $name ) { return false; } public function getLength() { return false; } public function item( $i ) { return false; } public function splitArg() { throw new MWException( __METHOD__ . ': not supported' ); } public function splitExt() { throw new MWException( __METHOD__ . ': not supported' ); } public function splitHeading() { throw new MWException( __METHOD__ . ': not supported' ); } }