mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
issue 2219 add count method by extra vars in model
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11085 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
aa3e2b7ac5
commit
4d5ecbdc6e
2 changed files with 46 additions and 0 deletions
|
|
@ -532,6 +532,23 @@
|
|||
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
function getDocumentExtraVarsCount($module_srl, $search_obj = NULL)
|
||||
{
|
||||
// Additional search options
|
||||
$args->module_srl = $module_srl;
|
||||
|
||||
$args->category_srl = $search_obj->category_srl;
|
||||
$args->var_idx = $search_obj->s_var_idx;
|
||||
$args->var_eid = $search_obj->s_var_eid;
|
||||
$args->var_value = $search_obj->s_var_value;
|
||||
|
||||
$output = executeQuery('document.getDocumentExtraVarsCount', $args);
|
||||
// Return total number of
|
||||
$total_count = $output->data->count;
|
||||
return (int)$total_count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Import page of the document, module_srl Without throughout ..
|
||||
* @param documentItem $oDocument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue