mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 01:03:28 +09:00
#19705602 specify db table column parameter in layout module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8342 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
612c4a6fbd
commit
315345a566
2 changed files with 6 additions and 4 deletions
|
|
@ -19,14 +19,14 @@
|
|||
* @brief Get a layout list created in the DB
|
||||
* If you found a new list, it means that the layout list is inserted to the DB
|
||||
**/
|
||||
function getLayoutList($site_srl = 0, $layout_type="P") {
|
||||
function getLayoutList($site_srl = 0, $layout_type="P", $columnList = array()) {
|
||||
if(!$site_srl) {
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$site_srl = (int)$site_module_info->site_srl;
|
||||
}
|
||||
$args->site_srl = $site_srl;
|
||||
$args->layout_type = $layout_type;
|
||||
$output = executeQuery('layout.getLayoutList', $args);
|
||||
$output = executeQuery('layout.getLayoutList', $args, $columnList);
|
||||
if(!$output->data) return;
|
||||
if(is_array($output->data)) return $output->data;
|
||||
return array($output->data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue