mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 92 add Theme skin info
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8650 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bfef639efd
commit
24ee496a42
3 changed files with 23 additions and 3 deletions
|
|
@ -11,6 +11,7 @@
|
|||
var $module = NULL; ///< Class name of Xe Module that is identified by mid
|
||||
var $module_srl = NULL; ///< integer value to represent a run-time instance of Module (XE Module)
|
||||
var $module_info = NULL; ///< an object containing the module information
|
||||
var $origin_module_info = NULL;
|
||||
var $xml_info = NULL; ///< an object containing the module description extracted from XML file
|
||||
|
||||
var $module_path = NULL; ///< a path to directory where module source code resides
|
||||
|
|
@ -26,6 +27,8 @@
|
|||
|
||||
var $stop_proc = false; ///< a flag to indicating whether to stop the execution of code.
|
||||
|
||||
var $module_config = NULL;
|
||||
|
||||
/**
|
||||
* @brief setter to set the name of module
|
||||
* @param name of module
|
||||
|
|
@ -116,6 +119,7 @@
|
|||
$this->mid = $module_info->mid;
|
||||
$this->module_srl = $module_info->module_srl;
|
||||
$this->module_info = $module_info;
|
||||
$this->origin_module_info = $module_info;
|
||||
$this->xml_info = $xml_info;
|
||||
$this->skin_vars = $module_info->skin_vars;
|
||||
// validate certificate info and permission settings necessary in Web-services
|
||||
|
|
@ -156,8 +160,11 @@
|
|||
}
|
||||
// permission variable settings
|
||||
$this->grant = $grant;
|
||||
|
||||
Context::set('grant', $grant);
|
||||
|
||||
$this->module_config = $oModuleModel->getModuleConfig($this->module, $module_info->site_srl);
|
||||
|
||||
if(method_exists($this, 'init')) $this->init();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue