git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-12 03:59:52 +00:00
commit 8326004cb2
2773 changed files with 91485 additions and 0 deletions

View file

@ -0,0 +1,44 @@
<?php
/**
* @class counter
* @author zero (zero@nzeo.com)
* @brief counter 모듈의 high class
**/
class counter extends ModuleObject {
/**
* @brief 설치시 추가 작업이 필요할시 구현
**/
function moduleInstall() {
// action forward에 등록 (관리자 모드에서 사용하기 위함)
$oModuleController = &getController('module');
$oModuleController->insertActionForward('counter', 'view', 'dispCounterAdminIndex');
$oCounterController = &getController('counter');
// 0 일자로 기록될 전체 방문 기록 row 추가
$oCounterController->insertTotalStatus();
// 오늘자 row입력
$oCounterController->insertTodayStatus();
return new Object();
}
/**
* @brief 설치가 이상이 없는지 체크하는 method
**/
function checkUpdate() {
return false;
}
/**
* @brief 업데이트 실행
**/
function moduleUpdate() {
return new Object();
}
}
?>