mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
#19705602 refactoring source, when specify db table column parameter in file module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8341 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e1ee2ac134
commit
612c4a6fbd
5 changed files with 15 additions and 10 deletions
|
|
@ -16,7 +16,7 @@
|
|||
/**
|
||||
* @brief Get all the attachments in order by time descending (for administrators)
|
||||
**/
|
||||
function getFileList($obj) {
|
||||
function getFileList($obj, $columnList = array()) {
|
||||
// Search options
|
||||
$search_target = $obj->search_target?$obj->search_target:trim(Context::get('search_target'));
|
||||
$search_keyword = $obj->search_keyword?$obj->search_keyword:trim(Context::get('search_keyword'));
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
$args->s_module_srl = $obj->module_srl;
|
||||
$args->exclude_module_srl = $obj->exclude_module_srl;
|
||||
// Execute the file.getFileList query
|
||||
$output = executeQuery('file.getFileList', $args);
|
||||
$output = executeQuery('file.getFileList', $args, $columnList);
|
||||
// Return if no result or an error occurs
|
||||
if(!$output->toBool()||!count($output->data)) return $output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue