it->hasChildren(); } /** @return whether the current element has children */ function hasChildren() { return $this->it->hasChildren(); } /** @return the ParentIterator for the current elements children */ function getChildren() { return new ParentIterator($this->it->getChildren()); } } ?>