31 $args =
new stdClass();
33 $args->list_count = 30;
34 $args->page_count = 5;
36 $args->sort_index =
'list_order';
53 $oCommentModel =
getModel(
'comment');
54 $secretNameList = $oCommentModel->getSecretNameList();
55 $columnList = array(
'comment_srl',
'document_srl',
'module_srl',
'is_secret',
'status',
'content',
'comments.member_srl',
'comments.nick_name',
'comments.regdate',
'ipaddress',
'voted_count',
'blamed_count');
56 $output = $oCommentModel->getTotalCommentList(
$args, $columnList);
71 $module_list = array();
75 $mod_srls[] = $val->module_srl;
77 $mod_srls = array_unique($mod_srls);
79 $mod_srls_count = count($mod_srls);
82 $columnList = array(
'module_srl',
'mid',
'browser_title');
83 $module_output =
$oModuleModel->getModulesInfo($mod_srls, $columnList);
84 if($module_output && is_array($module_output))
86 foreach($module_output as
$module)
88 $module_list[$module->module_srl] =
$module;
95 $security->encodeHTML(
'search_target',
'search_keyword');
109 $args =
new stdClass();
111 $args->list_count = 30;
112 $args->page_count = 10;
114 $args->sort_index =
'comment_declared.declared_count';
115 $args->order_type =
'desc';
118 $oCommentModel =
getModel(
'comment');
120 if($declared_output->data && count($declared_output->data))
122 $comment_list = array();
124 foreach($declared_output->data as $key => $comment)
127 $comment_list[$key]->setAttribute($comment);
129 $declared_output->data = $comment_list;
132 $secretNameList = $oCommentModel->getSecretNameList();
135 Context::set(
'total_count', $declared_output->total_count);
136 Context::set(
'total_page', $declared_output->total_page);
139 Context::set(
'page_navigation', $declared_output->page_navigation);
setTemplateFile($filename)
set($key, $val, $set_to_get_vars=0)
executeQuery($query_id, $args=NULL, $arg_columns=NULL)
$module
Class name of Xe Module that is identified by mid.