', $includeNode = false); public function getLevel(); public function getNumberChildren(); public function getNumberDescendants(); /** * node checks */ public function hasPrevSibling(); public function hasNextSibling(); public function hasChildren(); public function hasParent(); public function isLeaf(); public function isRoot(); public function isEqualTo(Doctrine_Record $subj); public function isDescendantOf(Doctrine_Record $subj); public function isDescendantOfOrEqualTo(Doctrine_Record $subj); public function isValidNode(); /** * deletes node and it's descendants */ public function delete(); } // if your model acts as tree you can retrieve the associated node object as follows $record = $manager->getTable('Model')->find($pk); $nodeObj = $record->getNode(); ?>