XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
krzip.admin.controller.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
10 {
12  {
15  unset($module_config->module);
16  unset($module_config->act);
17  unset($module_config->mid);
18  unset($module_config->vid);
19 
20  $oKrzipController = getController('krzip');
21  $output = $oKrzipController->updateConfig($module_config);
22  if(!$output->toBool())
23  {
24  return $output;
25  }
26 
27  $success_return_url = Context::get('success_return_url');
28  if($success_return_url)
29  {
30  $return_url = $success_return_url;
31  }
32  else
33  {
34  $return_url = getNotEncodedUrl('', 'module', 'krzip', 'act', 'dispKrzipAdminConfig');
35  }
36 
37  $this->setMessage('success_registed');
38  $this->setRedirectUrl($return_url);
39  }
40 }
41 
42 /* End of file krzip.admin.controller.php */
43 /* Location: ./modules/krzip/krzip.admin.controller.php */
Krzip module admin controller class.
setMessage($message= 'success', $type=NULL)
getController($module_name)
Definition: func.inc.php:90
Krzip module high class.
Definition: krzip.class.php:17
$output
Definition: ko.install.php:193
getNotEncodedUrl()
Definition: func.inc.php:316
setRedirectUrl($url= './', $output=NULL)
getDestroyXeVars(&$vars)
Definition: func.inc.php:1035