mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-04 02:52:10 +09:00
56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* @class admin
|
|
* @author zero (zero@nzeo.com)
|
|
* @brief admin 모듈의 high class
|
|
**/
|
|
|
|
class admin extends ModuleObject {
|
|
|
|
/**
|
|
* @brief MVC 에서 공통으로 사용되는 설정등을 모아 놓은것..
|
|
**/
|
|
function init() {
|
|
|
|
// 메뉴 아이템 지정
|
|
$menu_item->module->title = Context::getLang('item_module');
|
|
$menu_item->module->act = 'dispModuleList';
|
|
$menu_item->addon->title = Context::getLang('item_addon');
|
|
$menu_item->addon->act = 'dispAddonList';
|
|
$menu_item->plugin->title = Context::getLang('item_plugin');
|
|
$menu_item->plugin->act = 'dispPluginList';
|
|
$menu_item->layout->title = Context::getLang('item_layout');
|
|
$menu_item->layout->act = 'dispLayoutList';
|
|
|
|
Context::set('menu_item', $menu_item);
|
|
}
|
|
|
|
/**
|
|
* @brief 설치시 추가 작업이 필요할시 구현
|
|
**/
|
|
function moduleInstall() {
|
|
// 게시판, 회원관리, 레이아웃관리등 자주 사용될 module을 admin_shortcut에 등록
|
|
$oAdminController = &getController('admin');
|
|
$oAdminController->insertShortCut('board');
|
|
$oAdminController->insertShortCut('member');
|
|
$oAdminController->insertShortCut('layout');
|
|
|
|
return new Object();
|
|
}
|
|
|
|
/**
|
|
* @brief 설치가 이상이 없는지 체크하는 method
|
|
**/
|
|
function moduleIsInstalled() {
|
|
return new Object();
|
|
}
|
|
|
|
/**
|
|
* @brief 업데이트 실행
|
|
**/
|
|
function moduleUpdate() {
|
|
return new Object();
|
|
}
|
|
|
|
}
|
|
?>
|