mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
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:
parent
43bcb6d5b8
commit
2966ddca9a
35 changed files with 245 additions and 321 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@
|
|||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" />
|
||||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" pipe="and" />
|
||||
<condition operation="like_prefix" column="regdate" var="regDate" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue