mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
스프링노트 연동 모듈 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3114 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
206ffeefa0
commit
b05bafd715
50 changed files with 5347 additions and 0 deletions
54
modules/springnote/springnote.class.php
Normal file
54
modules/springnote/springnote.class.php
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
/**
|
||||
* @class springnote
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief springnote 모듈의 high 클래스
|
||||
**/
|
||||
|
||||
class springnote extends ModuleObject {
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteContent');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteAdminContent');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteAdminSpringnoteInfo');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteAdminInsertSpringnote');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteAdminDeleteSpringnote');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteAdminGrantInfo');
|
||||
$oModuleController->insertActionForward('springnote', 'view', 'dispSpringnoteAdminSkinInfo');
|
||||
$oModuleController->insertActionForward('springnote', 'controller', 'procSpringnoteAdminInsertSpringnote');
|
||||
$oModuleController->insertActionForward('springnote', 'controller', 'procSpringnoteAdminDeleteSpringnote');
|
||||
$oModuleController->insertActionForward('springnote', 'controller', 'procSpringnoteAdminInsertGrant');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
if(!$oModuleModel->getActionForward('dispSpringnoteContent')) 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