fileAdminModel::_makeSearchParam |
( |
& |
$obj, |
|
|
& |
$args |
|
) |
| |
Make search parameters from object(private)
- Parameters
-
object | $obj | Original searach options |
object | $args | Result searach options |
- Returns
- void
Definition at line 150 of file file.admin.model.php.
fileAdminModel::getFileList |
( |
|
$obj, |
|
|
|
$columnList = array() |
|
) |
| |
Get all the attachments in order by time descending (for administrators)
Search options:
- s_module_srl: int[] or int, search module_srl
- exclude_module_srl: int[] or int, exclude module_srl
- isvalid: Y or N
- direct_download: Y or N
- s_filename: string, like operation
- s_filesize_more: int, more operation, byte unit
- s_filesize_mega_more: int, more operation, mega unit
- s_filesize_less: int, less operation, byte unit
- s_filesize_mega_less: int, less operation, mega unit
- s_download_count: int, more operation
- s_regdate: string(YYYYMMDDHHMMSS), like prefix operation(STRING%)
- s_ipaddress: string, like prefix operation
- s_user_id: string
- s_user_name: string
- s_nick_name: string
- sort_index: string. default: files.file_srl
- page : int
- list_count: int. default: 20
- page_count: int. default: 10
Result data:
- file_srl
- upload_target_srl
- upload_target_type
- sid
- module_srl
- member_srl
- download_count
- direct_download
- source_filename
- uploaded_filename
- file_size
- comment
- isvaild
- regdate
- ipaddress
- Parameters
-
object | $obj | Search options |
array | $columnList | Column list to get from DB |
- Returns
- BaseObject BaseObject contains query result
Definition at line 65 of file file.admin.model.php.
fileAdminModel::getFilesCountByDate |
( |
|
$date = '' | ) |
|
Return number of attachments which belongs to a specific date
- Parameters
-
- Returns
- int
Definition at line 133 of file file.admin.model.php.
fileAdminModel::getFilesCountByGroupValid |
( |
|
$obj = '' | ) |
|
Return number of attachments which belongs to a specific document
Result data:
+---------+-------+
| isvalid | count |
+---------+-------+
| Y | 00 |
+---------+-------+
| N | 00 |
+---------+-------+
- Parameters
-
object | $obj | Search options (not used...) |
- Returns
- array
Definition at line 119 of file file.admin.model.php.
The documentation for this class was generated from the following file: