Example #1
0
 /**
  * 記事一覧
  * 
  * @access  public
  * @return  View
  */
 public function action_list()
 {
     $view = \View::forge('article/list');
     $result = Article::get_list();
     $view->set_global('article', $result['article']);
     $view->set_safe('pager', $result['pager']);
     return $view;
 }