#19705602 module related DB select column arrangement

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8358 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-05-11 04:52:43 +00:00
parent 914f4d7ef0
commit ee276fe56e
30 changed files with 133 additions and 78 deletions

View file

@ -132,7 +132,8 @@
$output = executeQuery('menu.getMenuLayout', $args);
// Set if layout value is not specified in the module
$oModuleModel = &getModel('module');
$module_info = $oModuleModel->getModuleInfoByMid($mid);
$columnList = array('layout_srl');
$module_info = $oModuleModel->getModuleInfoByMid($mid, 0, $columnList);
if(!$module_info->layout_srl&&$output->data->layout_srl) $mid_args->layout_srl = $output->data->layout_srl;
// Change menu value of the mid to the menu
$oModuleController = &getController('module');
@ -313,7 +314,8 @@
if($site_srl) {
$oModuleModel = &getModel('module');
$site_info = $oModuleModel->getSiteInfo($site_srl);
$columnList = array('sites.domain');
$site_info = $oModuleModel->getSiteInfo($site_srl, $columnList);
$domain = $site_info->domain;
}
// Get a list of menu items corresponding to menu_srl by listorder