issue 70 dashboard developement

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8772 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-16 07:53:07 +00:00
parent 43bcb6d5b8
commit 2966ddca9a
35 changed files with 245 additions and 321 deletions

View file

@ -149,6 +149,17 @@
return (int)$total_count;
}
/**
* @brief get the total number of comments in corresponding with document_srl.
**/
function getCommentCountByDate($date = '') {
if($date) $args->regDate = date('Ymd', strtotime($date));
$output = executeQuery('comment.getCommentCount', $args);
if(!$output->toBool()) return 0;
return $output->data->count;
}
/**
* @brief get the total number of comments in corresponding with module_srl.