#19705602 document column parameter modify.

comment column parameter modify.


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8336 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-04-26 07:03:05 +00:00
parent ef9f94e0da
commit de414300a8
6 changed files with 35 additions and 23 deletions

View file

@ -28,7 +28,8 @@
// get a list by using comment->getCommentList.
$oCommentModel = &getModel('comment');
$output = $oCommentModel->getTotalCommentList($args);
$columnList = array('comment_srl', 'document_srl', 'content', 'comments.member_srl', 'comments.nick_name', 'comments.regdate', 'ipaddress');
$output = $oCommentModel->getTotalCommentList($args, $columnList);
// set values in the return object of comment_model:: getTotalCommentList() in order to use a template.
Context::set('total_count', $output->total_count);
Context::set('total_page', $output->total_page);