mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
693e215bc1
commit
4d272994dd
219 changed files with 6407 additions and 8705 deletions
|
|
@ -2,43 +2,38 @@
|
|||
/**
|
||||
* @class rss
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief rss module의 view class
|
||||
* @brief The view class of the rss module
|
||||
**/
|
||||
|
||||
class rss extends ModuleObject {
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
* @brief Additional tasks required to accomplish during the installation
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록
|
||||
// Register in action forward
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
$oModuleController->insertActionForward('rss', 'view', 'rss');
|
||||
$oModuleController->insertActionForward('rss', 'view', 'atom');
|
||||
|
||||
// 2007. 10. 18 서비스형 모듈의 추가 설정에 참여하기 위한 trigger 추가
|
||||
// 2007.10.18 Add a trigger for participating additional configurations of the service module
|
||||
$oModuleController->insertTrigger('module.dispAdditionSetup', 'rss', 'view', 'triggerDispRssAdditionSetup', 'before');
|
||||
|
||||
// 2007. 10. 19 출력하기 전에 rss url을 세팅하는 트리거 호출
|
||||
// 2007. 10. 19 Call the trigger to set RSS URL before outputing
|
||||
$oModuleController->insertTrigger('moduleHandler.proc', 'rss', 'controller', 'triggerRssUrlInsert', 'after');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
* @brief A method to check if the installation has been successful
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// atom 을 위한 Action forward 추가
|
||||
// Add the Action forward for atom
|
||||
if(!$oModuleModel->getActionForward('atom')) return true;
|
||||
|
||||
// 2007. 10. 18 서비스형 모듈의 추가 설정에 참여하기 위한 trigger 추가
|
||||
// 2007. 10. Add a trigger for participating additional configurations of the service module
|
||||
if(!$oModuleModel->getTrigger('module.dispAdditionSetup', 'rss', 'view', 'triggerDispRssAdditionSetup', 'before')) return true;
|
||||
|
||||
// 2007. 10. 19 출력하기 전에 rss url을 세팅하는 트리거 호출
|
||||
// 2007. 10. 19 Call the trigger to set RSS URL before outputing
|
||||
if(!$oModuleModel->getTrigger('moduleHandler.proc', 'rss', 'controller', 'triggerRssUrlInsert', 'after')) return true;
|
||||
|
||||
if($oModuleModel->getTrigger('display', 'rss', 'controller', 'triggerRssUrlInsert', 'before')) return true;
|
||||
|
|
@ -47,21 +42,18 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
* @brief Execute update
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
// atom act 추가
|
||||
// Add atom act
|
||||
if(!$oModuleModel->getActionForward('atom'))
|
||||
$oModuleController->insertActionForward('rss', 'view', 'atom');
|
||||
|
||||
// 2007. 10. 18 서비스형 모듈의 추가 설정에 참여하기 위한 trigger 추가
|
||||
// 2007. 10. An additional set of 18 to participate in a service module, add a trigger
|
||||
if(!$oModuleModel->getTrigger('module.dispAdditionSetup', 'rss', 'view', 'triggerDispRssAdditionSetup', 'before'))
|
||||
$oModuleController->insertTrigger('module.dispAdditionSetup', 'rss', 'view', 'triggerDispRssAdditionSetup', 'before');
|
||||
|
||||
// 2007. 10. 19 출력하기 전에 rss url을 세팅하는 트리거 호출
|
||||
// 2007. 10. 19 outputs the trigger before you call to set up rss url
|
||||
if(!$oModuleModel->getTrigger('moduleHandler.proc', 'rss', 'controller', 'triggerRssUrlInsert', 'after'))
|
||||
$oModuleController->insertTrigger('moduleHandler.proc', 'rss', 'controller', 'triggerRssUrlInsert', 'after');
|
||||
if($oModuleModel->getTrigger('display', 'rss', 'controller', 'triggerRssUrlInsert', 'before'))
|
||||
|
|
@ -71,7 +63,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 캐시 파일 재생성
|
||||
* @brief Re-generate the cache file
|
||||
**/
|
||||
function recompileCache() {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue