27 $module_path = sprintf(
"./modules/%s/", $selected_module);
30 $skin_info_xml = sprintf(
"%sskins/%s/skin.xml",
$module_path, $skin);
31 if(!file_exists($skin_info_xml)) $this->
stop(
"msg_invalid_request");
55 $site_count =
$output->data->count;
58 $args =
new stdClass();
59 $module_category_exists =
false;
62 $args->site_keyword = $site_keyword;
66 $args->site_srl = (int)$site_module_info->site_srl;
72 $module_category_exists =
true;
80 foreach(
$output->data as $key => $val)
90 $category = $val->category;
91 $obj =
new stdClass();
92 $obj->module_srl = $val->module_srl;
93 $obj->browser_title = $val->browser_title;
94 $mid_list[
$module]->list[$category][$val->mid] =
$obj;
96 if(!$selected_module) $selected_module =
$module;
106 Context::set(
'selected_mids', $mid_list[$selected_module]->list);
107 Context::set(
'module_category_exists', $module_category_exists);
110 $security->encodeHTML(
'id',
'type',
'site_keyword');
123 if(!preg_match(
'/^[a-z0-9_]+$/i', $input_name))
125 return new BaseObject(-1,
'msg_invalid_request');
128 if(!$input_name)
return new BaseObject(-1,
'msg_not_permitted');
130 $addscript = sprintf(
'<script>//<![CDATA[
131 var selected_filebox_input_name = "%s";
132 //]]></script>',$input_name);
140 if($filter)
Context::set(
'arrfilter',explode(
',',$filter));
154 if($filter)
Context::set(
'arrfilter',explode(
',',$filter));
setTemplateFile($filename)
view class of the module module
set($key, $val, $set_to_get_vars=0)
$xml_info
an object containing the module description extracted from XML file
$module_path
a path to directory where module source code resides
dispModuleSkinInfo()
Display skin information.
executeQueryArray($query_id, $args=NULL, $arg_columns=NULL)
executeQuery($query_id, $args=NULL, $arg_columns=NULL)
$module
Class name of Xe Module that is identified by mid.
dispModuleSelectList()
Select a module.
high class of the module module