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