XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
modules
message
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
20
function
dispMessageAdminConfig
()
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 */
messageAdminView\dispMessageAdminConfig
dispMessageAdminConfig()
Configuration.
Definition:
message.admin.view.php:20
ModuleObject\setTemplateFile
setTemplateFile($filename)
Definition:
ModuleObject.class.php:252
$oModuleModel
$oModuleModel
Definition:
ko.install.php:236
messageAdminView
admin view class of the message module
Definition:
message.admin.view.php:8
Context\set
set($key, $val, $set_to_get_vars=0)
Definition:
Context.class.php:1948
message
high class of message module
Definition:
message.class.php:8
Security
Definition:
Security.class.php:11
messageAdminView\init
init()
Initialization.
Definition:
message.admin.view.php:13
getModel
getModel($module_name)
Definition:
func.inc.php:145
ModuleObject\setTemplatePath
setTemplatePath($path)
Definition:
ModuleObject.class.php:275
Generated on Tue Dec 18 2018 17:04:29 for XpressEngine Core by
1.8.5