mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
added lifepod module
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3288 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6e2a5f765a
commit
3a6abc6b97
30 changed files with 1727 additions and 0 deletions
54
modules/lifepod/lifepod.class.php
Normal file
54
modules/lifepod/lifepod.class.php
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
/**
|
||||
* @class lifepod
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief lifepod 모듈의 high 클래스
|
||||
**/
|
||||
|
||||
class lifepod extends ModuleObject {
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodContent');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodAdminContent');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodAdminLifepodInfo');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodAdminInsertLifepod');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodAdminDeleteLifepod');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodAdminGrantInfo');
|
||||
$oModuleController->insertActionForward('lifepod', 'view', 'dispLifepodAdminSkinInfo');
|
||||
$oModuleController->insertActionForward('lifepod', 'controller', 'procLifepodAdminInsertLifepod');
|
||||
$oModuleController->insertActionForward('lifepod', 'controller', 'procLifepodAdminDeleteLifepod');
|
||||
$oModuleController->insertActionForward('lifepod', 'controller', 'procLifepodAdminInsertGrant');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
if(!$oModuleModel->getActionForward('dispLifepodContent')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
$this->moduleInstall();
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 캐시 파일 재생성
|
||||
**/
|
||||
function recompileCache() {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue