rhymix/modules/communication/communication.admin.view.php
mosmartin 4d272994dd english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 16:48:06 +00:00

36 lines
1.2 KiB
PHP

<?php
/**
* @class communicationAdminView
* @author NHN (developers@xpressengine.com)
* @brief communication module of the admin view class
**/
class communicationAdminView extends communication {
/**
* @brief Initialization
**/
function init() {
}
/**
* @brief configuration to manage messages and friends
**/
function dispCommunicationAdminConfig() {
// Creating an object
$oEditorModel = &getModel('editor');
$oModuleModel = &getModel('module');
$oCommunicationModel = &getModel('communication');
// get the configurations of communication module
Context::set('communication_config', $oCommunicationModel->getConfig() );
// get a list of editor skins
Context::set('editor_skin_list', $oEditorModel->getEditorSkinList() );
// get a list of communication skins
Context::set('communication_skin_list', $oModuleModel->getSkins($this->module_path) );
// specify a template
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('index');
}
}
?>