mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10828 201d5d3c-b55e-5fd7-737f-ddc643e51545
33 lines
1,011 B
PHP
33 lines
1,011 B
PHP
<?php
|
|
/**
|
|
* @class messageAdminController
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief admin controller class of message module
|
|
**/
|
|
|
|
class messageAdminController extends message {
|
|
|
|
/**
|
|
* @brief Initialization
|
|
**/
|
|
function init() {
|
|
}
|
|
|
|
/**
|
|
* @brief Configuration
|
|
**/
|
|
function procMessageAdminInsertConfig() {
|
|
// Get information
|
|
$args->skin = Context::get('skin');
|
|
// Create a module Controller object
|
|
$oModuleController = &getController('module');
|
|
$output = $oModuleController->insertModuleConfig('message',$args);
|
|
if(!$output->toBool()) return $output;
|
|
|
|
$this->setMessage('success_updated');
|
|
|
|
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMessageAdminConfig');
|
|
$this->setRedirectUrl($returnUrl);
|
|
}
|
|
}
|
|
?>
|