git-svn-id: http://xe-core.googlecode.com/svn/trunk@805 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-30 06:01:24 +00:00
parent 84d0a85ebb
commit df75151c85
79 changed files with 1972 additions and 1919 deletions

View file

@ -11,8 +11,14 @@
* @brief 설치시 추가 작업이 필요할시 구현
**/
function moduleInstall() {
// 에디터 모듈에서 사용할 디렉토리 생성
FileHandler::makeDir('./files/cache/editor');
// action forward에 등록 (관리자 모드에서 사용하기 위함)
$oModuleController = &getController('module');
$oModuleController->insertActionFoward('editor', 'view', 'dispEditorAdminIndex');
$oModuleController->insertActionFoward('editor', 'view', 'dispEditorAdminSetupComponent');
$oModuleController->insertActionFoward('editor', 'controller', 'procEditorAdminEnableComponent');
$oModuleController->insertActionFoward('editor', 'controller', 'procEditorAdminDisableComponent');
$oModuleController->insertActionFoward('editor', 'controller', 'procEditorAdminMoveListOrder');
$oModuleController->insertActionFoward('editor', 'controller', 'procEditorAdminSetupComponent');
// 기본 에디터 컴포넌트를 추가
$oEditorController = &getController('editor');
@ -26,6 +32,9 @@
$oEditorController->insertComponent('quotation',true);
$oEditorController->insertComponent('table_maker',true);
// 에디터 모듈에서 사용할 디렉토리 생성
FileHandler::makeDir('./files/cache/editor');
return new Object();
}