67 $args =
new stdClass();
71 if(
$obj->isvalid ==
'Y')
$args->isvalid =
'Y';
72 elseif(
$obj->isvalid ==
'N')
$args->isvalid =
'N';
74 if(
$obj->direct_download ==
'Y')
$args->direct_download =
'Y';
75 elseif(
$obj->direct_download ==
'N')
$args->direct_download=
'N';
82 $args->exclude_module_srl =
$obj->exclude_module_srl;
90 foreach(
$output->data as $key => $file)
92 if($_SESSION[
'file_management'][$file->file_srl]) $file->isCarted =
true;
93 else $file->isCarted =
false;
95 $file->download_url = $oFileModel->getDownloadUrl($file->file_srl, $file->sid, $file->module_srl);
135 if($date)
$args->regDate = date(
'Ymd', strtotime($date));
138 if(!
$output->toBool())
return 0;
154 $search_keyword =
$obj->search_keyword?
$obj->search_keyword:trim(
Context::get(
'search_keyword'));
156 if($search_target && $search_keyword)
158 switch($search_target)
161 if($search_keyword) $search_keyword = str_replace(
' ',
'%',$search_keyword);
162 $args->s_filename = $search_keyword;
164 case 'filesize_more' :
165 $args->s_filesize_more = (int)$search_keyword;
167 case 'filesize_mega_more' :
168 $args->s_filesize_more = (int)$search_keyword * 1024 * 1024;
170 case 'filesize_less' :
171 $args->s_filesize_less = (int)$search_keyword;
173 case 'filesize_mega_less' :
174 $args->s_filesize_less = (int)$search_keyword * 1024 * 1024;
176 case 'download_count' :
177 $args->s_download_count = (int)$search_keyword;
180 $args->s_regdate = $search_keyword;
183 $args->s_ipaddress = $search_keyword;
186 $args->s_user_id = $search_keyword;
189 $args->s_user_name = $search_keyword;
192 $args->s_nick_name = $search_keyword;
195 $args->isvalid = $search_keyword;
getFilesCountByGroupValid($obj= '')
getFileList($obj, $columnList=array())
getFilesCountByDate($date= '')
executeQueryArray($query_id, $args=NULL, $arg_columns=NULL)
executeQuery($query_id, $args=NULL, $arg_columns=NULL)
_makeSearchParam(&$obj, &$args)