/** * Sets the master Tree object for this * node. * * @param object $tree The Tree object reference */ public function setTree($tree) { $this->tree = $tree; // Set tree for child nodes in this nodes NodeCollection $this->nodes->setTree($tree); }
/** * Sets the master Tree object for this * node. * * @param object $tree The Tree object reference */ public function setTree($tree) { $this->tree = $tree; // Set tree for child nodes in this nodes NodeCollection $this->nodes->setTree($tree); }