30 if(!in_array(
$obj->sort_index, array(
'list_order',
'delete_date',
'title')))
$obj->sort_index =
'list_order';
31 if(!in_array(
$obj->order_type, array(
'desc',
'asc')))
$obj->order_type =
'asc';
40 if(is_array(
$obj->module_srl))
$args->module_srl = implode(
',',
$obj->module_srl);
41 else $args->module_srl =
$obj->module_srl;
50 $query_id =
'document.getTrashList';
60 $keys = array_keys($data);
61 $virtual_number = $keys[0];
63 foreach($data as $key => $attribute)
67 $oDocument->setAttribute($attribute,
false);
68 if($is_admin) $oDocument->setGrant();
70 $output->data[$virtual_number] = $oDocument;
84 $args->trash_srl = $trash_srl;
102 $args =
new stdClass();
103 if($date)
$args->regDate = date(
'Ymd', strtotime($date));
104 if(count($moduleSrlList)>0)
$args->moduleSrlList = $moduleSrlList;
108 if(!
$output->toBool())
return 0;
getDocumentTrashList($obj)
getDocumentTrash($trash_srl)
getDocumentCountByDate($date= '', $moduleSrlList=array(), $statusList=array())
document the module's high class {
executeQueryArray($query_id, $args=NULL, $arg_columns=NULL)
executeQuery($query_id, $args=NULL, $arg_columns=NULL)