mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@115 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c5f6d078b6
commit
7d1693ad99
43 changed files with 238 additions and 58 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief module의 abstract class
|
* @brief module의 abstract class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class Module extends Object {
|
class ModuleObject extends Object {
|
||||||
|
|
||||||
var $mid = NULL; ///< module로 생성한 instance(관리상)의 값
|
var $mid = NULL; ///< module로 생성한 instance(관리상)의 값
|
||||||
var $module = NULL; ///< mid로 찾아서 생성한 모듈 class 이름
|
var $module = NULL; ///< mid로 찾아서 생성한 모듈 class 이름
|
||||||
|
|
@ -122,6 +122,38 @@
|
||||||
return $this->template_path;
|
return $this->template_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief layout 파일 지정
|
||||||
|
**/
|
||||||
|
function setLayoutFile($filename) {
|
||||||
|
if(substr($filename,-5)!='.html') $filename .= '.html';
|
||||||
|
$this->layout_file = $filename;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief layout 파일 return
|
||||||
|
**/
|
||||||
|
function getLayoutFile() {
|
||||||
|
return $this->layout_file;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief layout 경로 지정
|
||||||
|
**/
|
||||||
|
function setLayoutPath($path) {
|
||||||
|
if(substr($path,-1)!='/') $path .= '/';
|
||||||
|
if(substr($path,0,2)!='./') $path = './'.$path;
|
||||||
|
$this->layout_path = $path;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief layout 경로 return
|
||||||
|
**/
|
||||||
|
function getLayoutPath() {
|
||||||
|
return $this->layout_path;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 모듈의 action에 해당하는 method를 실행
|
* @brief 모듈의 action에 해당하는 method를 실행
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
Context::set('act', $act, true);
|
Context::set('act', $act, true);
|
||||||
|
|
||||||
// 모듈 객체 생성
|
// 모듈 객체 생성
|
||||||
$oModule = $this->getModuleInstance($module, $type);
|
$oModule = &$this->getModuleInstance($module, $type);
|
||||||
|
|
||||||
// 모듈 정보 세팅
|
// 모듈 정보 세팅
|
||||||
$oModule->setModuleInfo($module_info);
|
$oModule->setModuleInfo($module_info);
|
||||||
|
|
@ -111,6 +111,11 @@
|
||||||
* ./files/modules/* 의 클래스 파일을 우선으로 처리해야 함
|
* ./files/modules/* 의 클래스 파일을 우선으로 처리해야 함
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
// 상위 클래스명 구함
|
||||||
|
$high_class_file = sprintf('%s%s.class.php', $class_path, $module);
|
||||||
|
if(!file_exists($high_class_file)) return NULL;
|
||||||
|
require_once($high_class_file);
|
||||||
|
|
||||||
// 객체의 이름을 구함
|
// 객체의 이름을 구함
|
||||||
switch($type) {
|
switch($type) {
|
||||||
case 'controller' :
|
case 'controller' :
|
||||||
|
|
@ -137,12 +142,12 @@
|
||||||
@eval($eval_str);
|
@eval($eval_str);
|
||||||
if(!is_object($oModule)) return NULL;
|
if(!is_object($oModule)) return NULL;
|
||||||
|
|
||||||
// 생성된 객체에 자신이 호출된 위치를 세팅해줌
|
|
||||||
$oModule->setModulePath($class_path);
|
|
||||||
|
|
||||||
// 해당 위치에 속한 lang 파일을 읽음
|
// 해당 위치에 속한 lang 파일을 읽음
|
||||||
Context::loadLang($class_path.'lang');
|
Context::loadLang($class_path.'lang');
|
||||||
|
|
||||||
|
// 생성된 객체에 자신이 호출된 위치를 세팅해줌
|
||||||
|
$oModule->setModulePath($class_path);
|
||||||
|
|
||||||
// GLOBALS 변수에 생성된 객체 저장
|
// GLOBALS 변수에 생성된 객체 저장
|
||||||
$GLOBALS['_loaded_module'][$module][$type] = $oModule;
|
$GLOBALS['_loaded_module'][$module][$type] = $oModule;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
modules/admin/admin.class.php
Normal file
11
modules/admin/admin.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class admin
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief admin 모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class admin extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief admin 모듈의 controller class
|
* @brief admin 모듈의 controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class adminController extends Module {
|
class adminController extends admin {
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
**/
|
**/
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief admin 모듈의 model class
|
* @brief admin 모듈의 model class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class adminModel extends Module {
|
class adminModel extends admin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief admin 모듈의 view class
|
* @brief admin 모듈의 view class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class adminView extends Module {
|
class adminView extends admin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
28
modules/board/board.class.php
Normal file
28
modules/board/board.class.php
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class board
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief board 모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class board extends ModuleObject {
|
||||||
|
|
||||||
|
var $search_option = array('title','content','title_content','user_name'); ///< 검색 옵션
|
||||||
|
|
||||||
|
var $skin = "default"; ///< 스킨 이름
|
||||||
|
var $list_count = 3; ///< 한 페이지에 나타날 글의 수
|
||||||
|
var $page_count = 10; ///< 페이지의 수
|
||||||
|
var $category_list = NULL; ///< 카테고리 목록
|
||||||
|
|
||||||
|
var $grant_list = array(
|
||||||
|
'list',
|
||||||
|
'view',
|
||||||
|
'write_document',
|
||||||
|
'write_comment',
|
||||||
|
'fileupload',
|
||||||
|
); ///< 권한의 종류를 미리 설정
|
||||||
|
|
||||||
|
var $editor = 'default'; ///< 에디터 종류
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief board 모듈의 Controller class
|
* @brief board 모듈의 Controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class boardController extends Module {
|
class boardController extends board {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,24 +5,7 @@
|
||||||
* @brief board 모듈의 View class
|
* @brief board 모듈의 View class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class boardView extends Module {
|
class boardView extends board {
|
||||||
|
|
||||||
var $search_option = array('title','content','title_content','user_name'); ///< 검색 옵션
|
|
||||||
|
|
||||||
var $skin = "default"; ///< 스킨 이름
|
|
||||||
var $list_count = 3; ///< 한 페이지에 나타날 글의 수
|
|
||||||
var $page_count = 10; ///< 페이지의 수
|
|
||||||
var $category_list = NULL; ///< 카테고리 목록
|
|
||||||
|
|
||||||
var $grant_list = array(
|
|
||||||
'list',
|
|
||||||
'view',
|
|
||||||
'write_document',
|
|
||||||
'write_comment',
|
|
||||||
'fileupload',
|
|
||||||
); ///< 권한의 종류를 미리 설정
|
|
||||||
|
|
||||||
var $editor = 'default'; ///< 에디터 종류
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/comment/comment.class.php
Normal file
11
modules/comment/comment.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class comment
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief comment 모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class comment extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief comment 모듈의 controller class
|
* @brief comment 모듈의 controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class commentController extends Module {
|
class commentController extends comment {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief comment 모듈의 model class
|
* @brief comment 모듈의 model class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class commentModel extends Module {
|
class commentModel extends comment {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/document/document.class.php
Normal file
11
modules/document/document.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class document
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief document 모듈의 high 클래스
|
||||||
|
**/
|
||||||
|
|
||||||
|
class document extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief document 모듈의 controller 클래스
|
* @brief document 모듈의 controller 클래스
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class documentController extends Module {
|
class documentController extends document {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief document 모듈의 model 클래스
|
* @brief document 모듈의 model 클래스
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class documentModel extends Module {
|
class documentModel extends document {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
@ -34,8 +34,8 @@
|
||||||
if($this->isGranted($document->document_srl)) {
|
if($this->isGranted($document->document_srl)) {
|
||||||
$document->is_granted = true;
|
$document->is_granted = true;
|
||||||
} elseif($document->member_srl) {
|
} elseif($document->member_srl) {
|
||||||
$oMember = getModule('member');
|
$oMemberModel = getMemberModel('member');
|
||||||
$member_srl = $oMember->getMemberSrl();
|
$member_srl = $oMemberModel->getMemberSrl();
|
||||||
if($member_srl && $member_srl ==$document->member_srl) $document->is_granted = true;
|
if($member_srl && $member_srl ==$document->member_srl) $document->is_granted = true;
|
||||||
}
|
}
|
||||||
return $document;
|
return $document;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief document 모듈의 view 클래스
|
* @brief document 모듈의 view 클래스
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class documentView extends Module {
|
class documentView extends document {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/file/file.class.php
Normal file
11
modules/file/file.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class file
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief file 모듈의 high 클래스
|
||||||
|
**/
|
||||||
|
|
||||||
|
class file extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief file 모듈의 controller 클래스
|
* @brief file 모듈의 controller 클래스
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class fileController extends Module {
|
class fileController extends file {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief file 모듈의 model 클래스
|
* @brief file 모듈의 model 클래스
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class fileModel extends Module {
|
class fileModel extends file {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief file 모듈의 view 클래스
|
* @brief file 모듈의 view 클래스
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class fileView extends Module {
|
class fileView extends file {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/install/install.class.php
Normal file
11
modules/install/install.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class install
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief install module의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class install extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief install module의 Controller class
|
* @brief install module의 Controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class installController extends Module {
|
class installController extends install {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief install module의 View class
|
* @brief install module의 View class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class installView extends Module {
|
class installView extends install {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/log/log.class.php
Normal file
11
modules/log/log.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class log
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief log 모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class log extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
* @todo 미구현
|
* @todo 미구현
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class logController extends Module {
|
class logController extends log {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/member/member.class.php
Normal file
11
modules/member/member.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class member
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief member module의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class member extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief member module의 Controller class
|
* @brief member module의 Controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class memberController extends Module {
|
class memberController extends member {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief member module의 Model class
|
* @brief member module의 Model class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class memberModel extends Module {
|
class memberModel extends member {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief member module의 View class
|
* @brief member module의 View class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class memberView extends Module {
|
class memberView extends member {
|
||||||
|
|
||||||
var $group_list = NULL; ///< 그룹 목록 정보
|
var $group_list = NULL; ///< 그룹 목록 정보
|
||||||
var $member_info = NULL; ///< 선택된 사용자의 정보
|
var $member_info = NULL; ///< 선택된 사용자의 정보
|
||||||
|
|
|
||||||
11
modules/message/message.class.php
Normal file
11
modules/message/message.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class message
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief message모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class message extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief message모듈의 view class
|
* @brief message모듈의 view class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class messageView extends Module {
|
class messageView extends message {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/module/module.class.php
Normal file
11
modules/module/module.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class module
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief module 모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class module extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief module 모듈의 Controller class
|
* @brief module 모듈의 Controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class moduleController extends Module {
|
class moduleController extends ModuleObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
**/
|
**/
|
||||||
function insertModule($args) {
|
function insertModule($args) {
|
||||||
// module model 객체 생성
|
// module model 객체 생성
|
||||||
$oModuleModel = getModule('module','model');
|
$oModuleModel = getModel('module');
|
||||||
|
|
||||||
// 선택된 스킨정보에서 colorset을 구함
|
// 선택된 스킨정보에서 colorset을 구함
|
||||||
$skin_info = $oModuleModel->loadSkinInfo($args->module, $args->skin);
|
$skin_info = $oModuleModel->loadSkinInfo($args->module, $args->skin);
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
// plugin 삭제
|
// plugin 삭제
|
||||||
|
|
||||||
// document 삭제
|
// document 삭제
|
||||||
$oDocumentController = getModule('document', 'controller');
|
$oDocumentController = getController('document');
|
||||||
$output = $oDocumentController->deleteModuleDocument($module_srl);
|
$output = $oDocumentController->deleteModuleDocument($module_srl);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
|
|
||||||
|
|
@ -109,17 +109,17 @@
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
|
|
||||||
// trackbacks 삭제
|
// trackbacks 삭제
|
||||||
$oTrackbackController = getModule('trackback','controller');
|
$oTrackbackController = getController('trackback');
|
||||||
$output = $oTrackbackController->deleteModuleTrackbacks($module_srl);
|
$output = $oTrackbackController->deleteModuleTrackbacks($module_srl);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
|
|
||||||
// comments 삭제
|
// comments 삭제
|
||||||
$oCommentController = getModule('comment','controller');
|
$oCommentController = getController('comment');
|
||||||
$output = $oCommentController->deleteModuleComments($module_srl);
|
$output = $oCommentController->deleteModuleComments($module_srl);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
|
|
||||||
// tags 삭제
|
// tags 삭제
|
||||||
$oTagController = getModule('tag','controller');
|
$oTagController = getController('tag');
|
||||||
$output = $oTagController->deleteModuleTags($module_srl);
|
$output = $oTagController->deleteModuleTags($module_srl);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief module 모듈의 Model class
|
* @brief module 모듈의 Model class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class moduleModel extends Module {
|
class moduleModel extends module {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief module 모듈의 View class
|
* @brief module 모듈의 View class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class moduleView extends Module {
|
class moduleView extends module {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
**/
|
**/
|
||||||
function dispContent() {
|
function dispContent() {
|
||||||
// 모듈모델 객체를 구함
|
// 모듈모델 객체를 구함
|
||||||
$oModuleModel = getModule('module','model');
|
$oModuleModel = getModel('module');
|
||||||
|
|
||||||
// 등록된 모듈의 목록을 구해옴
|
// 등록된 모듈의 목록을 구해옴
|
||||||
$installed_module_list = $oModuleModel->getModulesInfo();
|
$installed_module_list = $oModuleModel->getModulesInfo();
|
||||||
|
|
|
||||||
11
modules/rss/rss.class.php
Normal file
11
modules/rss/rss.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class rss
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief rss module의 view class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class rss extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class rssView extends Module {
|
class rssView extends rss {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/tag/tag.class.php
Normal file
11
modules/tag/tag.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class tag
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief tag 모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class tag extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief tag 모듈의 controller class
|
* @brief tag 모듈의 controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class tagController extends Module {
|
class tagController extends tag {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
11
modules/trackback/trackback.class.php
Normal file
11
modules/trackback/trackback.class.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class trackback
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief trackback모듈의 high class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class trackback extends ModuleObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief trackback모듈의 Controller class
|
* @brief trackback모듈의 Controller class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class trackbackController extends Module {
|
class trackbackController extends trackback {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief trackback 모듈의 model class
|
* @brief trackback 모듈의 model class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class trackbackModel extends Module {
|
class trackbackModel extends trackback {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* @brief trackback모듈의 View class
|
* @brief trackback모듈의 View class
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class trackbackView extends Module {
|
class trackbackView extends trackback {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 초기화
|
* @brief 초기화
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue