mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
issue 70 add file status in super admin dashboard
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8870 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bd0b64c1a3
commit
1b198a605a
4 changed files with 20 additions and 7 deletions
|
|
@ -60,6 +60,18 @@
|
|||
return $output->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return number of attachments which belongs to a specific document
|
||||
**/
|
||||
function getFilesCountByDate($date = '') {
|
||||
if($date) $args->regDate = date('Ymd', strtotime($date));
|
||||
|
||||
$output = executeQuery('file.getFilesCount', $args);
|
||||
if(!$output->toBool()) return 0;
|
||||
|
||||
return $output->data->count;
|
||||
}
|
||||
|
||||
function _makeSearchParam(&$obj, &$args)
|
||||
{
|
||||
// Search options
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" />
|
||||
<condition operation="like_prefix" column="regdate" var="regDate" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue