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.controller.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
8
class
messageAdminController
extends
message
9
{
13
function
init
()
14
{
15
}
16
20
function
procMessageAdminInsertConfig
()
21
{
22
// Get information
23
$args
=
Context::gets
(
'skin'
,
'mskin'
,
'colorset'
,
'mcolorset'
);
24
// Create a module Controller object
25
$oModuleController
=
getController
(
'module'
);
26
$output
=
$oModuleController
->insertModuleConfig(
'message'
,
$args
);
27
if
(!
$output
->toBool())
return
$output
;
28
29
$this->
setMessage
(
'success_updated'
);
30
31
$returnUrl =
Context::get
(
'success_return_url'
) ?
Context::get
(
'success_return_url'
) :
getNotEncodedUrl
(
''
,
'module'
,
'admin'
,
'act'
,
'dispMessageAdminConfig'
);
32
$this->
setRedirectUrl
($returnUrl);
33
}
34
}
35
/* End of file message.admin.controller.php */
36
/* Location: ./modules/message/message.admin.controller.php */
ModuleObject\setMessage
setMessage($message= 'success', $type=NULL)
Definition:
ModuleObject.class.php:89
getController
getController($module_name)
Definition:
func.inc.php:90
$output
$output
Definition:
ko.install.php:193
Context\gets
gets()
Definition:
Context.class.php:1989
getNotEncodedUrl
getNotEncodedUrl()
Definition:
func.inc.php:316
message
high class of message module
Definition:
message.class.php:8
messageAdminController
admin controller class of message module
Definition:
message.admin.controller.php:8
$args
$args
Definition:
ko.install.php:185
ModuleObject\setRedirectUrl
setRedirectUrl($url= './', $output=NULL)
Definition:
ModuleObject.class.php:60
Context\get
get($key)
Definition:
Context.class.php:1973
messageAdminController\procMessageAdminInsertConfig
procMessageAdminInsertConfig()
Configuration.
Definition:
message.admin.controller.php:20
messageAdminController\init
init()
Initialization.
Definition:
message.admin.controller.php:13
$oModuleController
$oModuleController
Definition:
ko.install.php:287
Generated on Tue Dec 18 2018 17:04:29 for XpressEngine Core by
1.8.5