private function _makeArticleList(&$data) { $request = Project::getRequest(); $article_model = new ArticleModel(); $pager = new DbPager($request->pn, self::DEFAULT_ARTICLE_PER_PAGE); $article_model->setPager($pager); $data['article_list'] = $article_model->loadPage(); $data['list_pager'] = $article_model->getPager(); $data['controller'] = null; $data['list_action'] = 'List'; $data['edit_action'] = "EditArticle"; $data['delete_article_action'] = "DeleteArticle"; $data['reset_rate_action'] = "ResetRate"; $data['add_link'] = AjaxRequest::getJsonParam($data['controller'], $data['edit_action']); }