39 if(!$oDocument->isExists())
return new BaseObject(-1,
'msg_invalid_request');
41 if(!$oDocument->isAccessible())
return new BaseObject(-1,
'msg_not_permitted');
61 return new BaseObject(-1,
'msg_invalid_request');
83 $flag_list = $_SESSION[
'document_management'];
86 foreach($flag_list as $key => $val)
88 if(!is_bool($val))
continue;
89 $document_srl_list[] = $key;
93 if(count($document_srl_list))
96 $document_list =
$oDocumentModel->getDocuments($document_srl_list, $this->grant->is_admin);
102 if(count($module_list)>1)
Context::set(
'module_list', $module_categories);
129 if(!$current_module_srl && !$current_module_srls)
132 $current_module_info =
Context::get(
'current_module_info');
133 $current_module_srl = $current_module_info->module_srl;
134 if(!$current_module_srl)
return new BaseObject();
138 if($current_module_srl)
140 $document_config =
$oModuleModel->getModulePartConfig(
'document', $current_module_srl);
142 if(!$document_config)
144 $document_config =
new stdClass();
146 if(!isset($document_config->use_history)) $document_config->use_history =
'N';
150 $tpl = $oTemplate->compile($this->module_path.
'tpl',
'document_module_config');
166 if(!$oMemberModel->isLogged())
return $this->
stop(
'msg_not_logged');
169 $args =
new stdClass();
173 $args->list_count = 10;
setTemplateFile($filename)
triggerDispDocumentAdditionSetup(&$obj)
set($key, $val, $set_to_get_vars=0)
setBrowserTitle($site_title)
dispDocumentManageDocument()
$module_srl
integer value to represent a run-time instance of Module (XE Module)
$module_info
an object containing the module information
document the module's high class {