mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
document module develope for document management git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8679 201d5d3c-b55e-5fd7-737f-ddc643e51545
39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* @class communicationAdminController
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief communication module of the admin controller class
|
|
**/
|
|
|
|
class communicationAdminController extends communication {
|
|
|
|
/**
|
|
* @brief Initialization
|
|
**/
|
|
function init() {
|
|
}
|
|
|
|
/**
|
|
* @brief save configurations of the communication module
|
|
**/
|
|
function procCommunicationAdminInsertConfig() {
|
|
// get the default information
|
|
$args = Context::gets('skin','colorset','editor_skin','editor_colorset');
|
|
|
|
if(!$args->skin) $args->skin = "default";
|
|
if(!$args->colorset) $args->colorset = "white";
|
|
if(!$args->editor_skin) $args->editor_skin = "default";
|
|
// create the module module Controller object
|
|
$oModuleController = &getController('module');
|
|
$output = $oModuleController->insertModuleConfig('communication',$args);
|
|
|
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
|
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCommunicationAdminConfig');
|
|
$this->setRedirectUrl($returnUrl);
|
|
return;
|
|
}
|
|
else return $output;
|
|
}
|
|
|
|
}
|
|
?>
|