From 3ce41631ea6aa204ec53b93eae2f7548f2145264 Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 15 Feb 2007 09:40:52 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@73 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/log/{module.xml => conf/info.xml} | 0 modules/log/log.controller.php | 16 ++++++ modules/log/log.module.php | 60 ----------------------- 3 files changed, 16 insertions(+), 60 deletions(-) rename modules/log/{module.xml => conf/info.xml} (100%) create mode 100644 modules/log/log.controller.php delete mode 100644 modules/log/log.module.php diff --git a/modules/log/module.xml b/modules/log/conf/info.xml similarity index 100% rename from modules/log/module.xml rename to modules/log/conf/info.xml diff --git a/modules/log/log.controller.php b/modules/log/log.controller.php new file mode 100644 index 000000000..c70e46093 --- /dev/null +++ b/modules/log/log.controller.php @@ -0,0 +1,16 @@ + diff --git a/modules/log/log.module.php b/modules/log/log.module.php deleted file mode 100644 index e441cf9c4..000000000 --- a/modules/log/log.module.php +++ /dev/null @@ -1,60 +0,0 @@ - - * @desc : 기본 모듈중의 하나인 log module - * Module class에서 상속을 받아서 사용 - * action 의 경우 disp/proc 2가지만 존재하며 이는 action명세서에 - * 미리 기록을 하여야 함 - **/ - - class log extends Module { - - /** - * 모듈의 정보 - **/ - var $cur_version = "20070130_0.01"; - - /** - * 기본 action 지정 - * $act값이 없거나 잘못된 값이 들어올 경우 $default_act 값으로 진행 - **/ - var $default_act = ''; - - /** - * 현재 모듈의 초기화를 위한 작업을 지정해 놓은 method - * css/js파일의 load라든지 lang파일 load등을 미리 선언 - * - * Init() => 공통 - * dispInit() => disp시에 - * procInit() => proc시에 - * - * $this->module_path는 현재 이 모듈파일의 위치를 나타낸다 - * (ex: $this->module_path = "./modules/install/"; - **/ - - // 초기화 - function init() {/*{{{*/ - }/*}}}*/ - - // disp 초기화 - function dispInit() {/*{{{*/ - }/*}}}*/ - - // proc 초기화 - function procInit() {/*{{{*/ - }/*}}}*/ - - /** - * 여기서부터는 action의 구현 - * request parameter의 경우 각 method의 첫번째 인자로 넘어온다 - * - * dispXXXX : 출력을 위한 method, output에 tpl file이 지정되어야 한다 - * procXXXX : 처리를 위한 method, output에는 log, log가 지정되어야 한다 - **/ - - /** - * 여기부터는 이 모듈과 관련된 라이브러리 개념의 method들 - **/ - } -?>