35 $oAutoinstallModel =
getModel(
'autoinstall');
38 if(is_array($module_list))
40 foreach($module_list as $key => $val)
42 $module_list[$key]->delete_url = $oAutoinstallModel->getRemoveUrlByPath($val->path);
45 $packageSrl = $oAutoinstallModel->getPackageSrlByPath($val->path);
46 $package = $oAutoinstallModel->getInstalledPackages($packageSrl);
47 $module_list[$key]->need_autoinstall_update = $package[$packageSrl]->need_update;
50 if($module_list[$key]->need_autoinstall_update ==
'Y')
52 $module_list[$key]->update_url = $oAutoinstallModel->getUpdateUrlByPackageSrl($packageSrl);
57 $output = $oAdminModel->getFavoriteList(
'0');
59 $favoriteList =
$output->get(
'favoriteList');
60 $favoriteModuleList = array();
63 foreach($favoriteList as $favorite => $favorite_info)
65 $favoriteModuleList[] = $favorite_info->module;
73 $security->encodeHTML(
'module_list....');
91 $security->encodeHTML(
'module_info...');
105 $module_category_srl =
Context::get(
'module_category_srl');
113 if($module_category_srl)
115 $selected_category =
$oModuleModel->getModuleCategory($module_category_srl);
119 $security->encodeHTML(
'selected_category.title');
131 $security->encodeHTML(
'category_list..title');
147 $columnList = array(
'module_srl',
'module',
'mid',
'browser_title');
152 $oSecurity->encodeHTML(
'module_info.');
167 $modules = explode(
',',$module_srls);
168 if(!count($modules))
if(!$module_srls)
return new BaseObject(-1,
'msg_invalid_request');
171 $columnList = array(
'module_srl',
'module');
178 $layout_list = $oLayoutModel->getLayoutList();
185 $security->encodeHTML(
'layout_list..title',
'layout_list..layout');
186 $security->encodeHTML(
'skin_list....');
187 $security->encodeHTML(
'module_category...');
203 $modules = explode(
',',$module_srls);
204 if(!count($modules))
if(!$module_srls)
return new BaseObject(-1,
'msg_invalid_request');
226 $modules = explode(
',',$module_srls);
227 if(!count($modules))
if(!$module_srls)
return new BaseObject(-1,
'msg_invalid_request');
230 $columnList = array(
'module_srl',
'module',
'site_srl');
236 $grant_list->access->default =
'guest';
237 if(count($source_grant_list))
239 foreach($source_grant_list as $key => $val)
241 if(!$val->default) $val->default =
'guest';
242 if($val->default ==
'root') $val->default =
'manager';
243 $grant_list->{$key} = $val;
247 $grant_list->manager->default =
'manager';
251 $group_list = $oMemberModel->getGroups(
$module_info->site_srl);
254 $security->encodeHTML(
'group_list..title');
270 $args =
new stdClass();
271 $args->site_srl = (int)$site_module_info->site_srl;
274 $args->list_count = 30;
275 $args->page_count = 5;
276 $args->sort_index =
'name';
277 $args->order_type =
'asc';
282 $output = $oModuleAdminModel->getLangListByLangcode(
$args);
292 $this->setLayoutPath(
'./common/tpl');
293 $this->setLayoutFile(
'popup_layout');
296 $this->setTemplateFile(
'module_langcode');
304 $page = $page?$page:1;
310 $oSecurity->encodeHTML(
'filebox_list..comment',
'filebox_list..attributes.');
311 $this->setTemplateFile(
'adminFileBox');
setTemplateFile($filename)
dispModuleAdminCopyModule()
Feature to copy module.
set($key, $val, $set_to_get_vars=0)
$xml_info
an object containing the module description extracted from XML file
dispModuleAdminModuleGrantSetup()
Applying module permission settings to all modules.
dispModuleAdminInfo()
Pop-up details of the module (conf/info.xml)
$module_srl
integer value to represent a run-time instance of Module (XE Module)
$module_info
an object containing the module information
dispModuleAdminCategory()
Module Categories.
getAdminModel($module_name)
admin view class of the module module
dispModuleAdminContent()
Module admin page.
dispModuleAdminList()
Display a lost of modules.
dispModuleAdminModuleSetup()
Applying the default settings to all modules.
dispModuleAdminModuleAdditionSetup()
Apply module addition settings to all modules.
triggerCall($trigger_name, $called_position, &$obj)
dispModuleAdminLangcode()
Language codes.
high class of the module module