insertTrigger('comment.insertComment', 'tccommentnotify', 'controller', 'triggerInsertComment', 'after'); $oModuleController->insertActionForward('tccommentnotify', 'view', 'dispCommentNotifyAdminIndex'); return new Object(); } /** * @brief 설치가 이상이 없는지 체크하는 method **/ function checkUpdate() { $oModuleModel = &getModel('module'); if(!$oModuleModel->getTrigger('comment.insertComment', 'tccommentnotify', 'controller', 'triggerInsertComment', 'after')) return true; if(!$oModuleModel->getActionForward('dispCommentNotifyAdminIndex')) return true; return false; } /** * @brief 업데이트 실행 **/ function moduleUpdate() { $oModuleModel = &getModel('module'); $oModuleController = &getController('module'); if(!$oModuleModel->getTrigger('comment.insertComment', 'tccommentnotify', 'controller', 'triggerInsertComment', 'after')) $oModuleController->insertTrigger('comment.insertComment', 'tccommentnotify', 'controller', 'triggerInsertComment', 'after'); if(!$oModuleModel->getActionForward('dispCommentNotifyAdminIndex')) $oModuleController->insertActionForward('tccommentnotify', 'view', 'dispCommentNotifyAdminIndex'); return new Object(0, 'success_updated'); } /** * @brief 캐시 파일 재생성 **/ function recompileCache() { } } ?>