public function getDom() { $tree = new TreeView(); $this->mainTree = $tree->getMainTree(); return $this->createBottomTreeDom(); }