XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
message.admin.controller.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
9 {
13  function init()
14  {
15  }
16 
21  {
22  // Get information
23  $args = Context::gets('skin', 'mskin', 'colorset', 'mcolorset');
24  // Create a module Controller object
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 */
setMessage($message= 'success', $type=NULL)
getController($module_name)
Definition: func.inc.php:90
$output
Definition: ko.install.php:193
getNotEncodedUrl()
Definition: func.inc.php:316
high class of message module
admin controller class of message module
$args
Definition: ko.install.php:185
setRedirectUrl($url= './', $output=NULL)
procMessageAdminInsertConfig()
Configuration.
$oModuleController
Definition: ko.install.php:287