module_path); $this->setTemplatePath($template_path); } /** * @brief trash list **/ function dispTrashAdminList() { $args->page = Context::get('page'); // /< Page $args->list_count = 30; // /< the number of posts to display on a single page $args->page_count = 5; // /< the number of pages that appear in the page navigation $args->search_target = Context::get('search_target'); // /< search (title, contents ...) $args->search_keyword = Context::get('search_keyword'); // /< keyword to search $oTrashModel = getModel('trash'); $output = $oTrashModel->getTrashList($args); // get Status name list $oDocumentModel = &getModel('document'); $statusNameList = $oDocumentModel->getStatusNameList(); Context::set('trash_list', $output->data); Context::set('total_count', $output->total_count); Context::set('total_page', $output->total_page); Context::set('page', $output->page); Context::set('page_navigation', $output->page_navigation); Context::set('status_name_list', $statusNameList); // 템플릿 파일 지정 $this->setTemplateFile('trash_list'); } } ?>