XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
message.admin.view.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
8 class messageAdminView extends message
9 {
13  function init()
14  {
15  }
16 
21  {
22  // Get a list of skins(themes)
23  $oModuleModel = getModel('module');
24 
25  $skin_list = $oModuleModel->getskins($this->module_path);
26  Context::set('skin_list', $skin_list);
27 
28  $mskin_list = $oModuleModel->getSkins($this->module_path, "m.skins");
29  Context::set('mskin_list', $mskin_list);
30 
31  // Get configurations (using module model object)
32  $config = $oModuleModel->getModuleConfig('message');
33  Context::set('config',$config);
34 
35  // Set a template file
36  $this->setTemplatePath($this->module_path.'tpl');
37 
38  //Security
39  $security = new Security();
40  $security->encodeHTML('skin_list..title', 'mskin_list..title');
41 
42  $this->setTemplateFile('config');
43  }
44 }
45 /* End of file message.admin.view.php */
46 /* Location: ./modules/message/message.admin.view.php */
dispMessageAdminConfig()
Configuration.
setTemplateFile($filename)
$oModuleModel
Definition: ko.install.php:236
admin view class of the message module
set($key, $val, $set_to_get_vars=0)
high class of message module
init()
Initialization.
getModel($module_name)
Definition: func.inc.php:145