getCategoryById() 공개 정적인 메소드

Get a category by id
public static getCategoryById ( integer $id ) : array
$id integer
리턴 array
예제 #1
0
 /**
  * Parse
  */
 private function parse()
 {
     $this->tpl->assign('widgetFaqCategory', FrontendFaqModel::getCategoryById($this->data['id']));
     $this->tpl->assign('widgetFaqCategoryList', FrontendFaqModel::getAllForCategory($this->data['id'], $this->get('fork.settings')->get('Faq', 'most_read_num_items', 10)));
 }