public function getPageTree($root_id = 0) { $page_arr = $this->getAll(); return PageDataHelper::buildPageTree($page_arr, $root_id); //return $page_arr; }
public function getComments($args = array()) { $comments = PageDataHelper::getComments($this->properties['id'], $args); $this->properties['comments'] = $comments; return $comments; }