mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 13:19:56 +09:00
통합검색 모듈인 integration_search 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1992 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87e2fab04c
commit
c4d1ed1c2e
26 changed files with 698 additions and 6 deletions
47
modules/integration_search/integration_search.class.php
Normal file
47
modules/integration_search/integration_search.class.php
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
/**
|
||||
* @class integration_search
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief integration_search module의 view class
|
||||
**/
|
||||
|
||||
class integration_search extends ModuleObject {
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'IS');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'dispIntegration_searchAdminContent');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'dispIntegration_searchAdminSkinInfo');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
// IS act의 여부 체크 (2007. 7. 24 추가)
|
||||
$oModuleModel = &getModel('module');
|
||||
$act = $oModuleModel->getActionForward('dispIntegration_searchAdminSkinInfo');
|
||||
if(!$act) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'IS');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'dispIntegration_searchAdminContent');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'dispIntegration_searchAdminSkinInfo');
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue