mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +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
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
|
||||
**/
|
||||
|
||||
class adminController extends Module {
|
||||
class adminController extends admin {
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief admin 모듈의 model class
|
||||
**/
|
||||
|
||||
class adminModel extends Module {
|
||||
class adminModel extends admin {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief admin 모듈의 view class
|
||||
**/
|
||||
|
||||
class adminView extends Module {
|
||||
class adminView extends admin {
|
||||
|
||||
/**
|
||||
* @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
|
||||
**/
|
||||
|
||||
class boardController extends Module {
|
||||
class boardController extends board {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,24 +5,7 @@
|
|||
* @brief board 모듈의 View class
|
||||
**/
|
||||
|
||||
class boardView extends Module {
|
||||
|
||||
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'; ///< 에디터 종류
|
||||
class boardView extends board {
|
||||
|
||||
/**
|
||||
* @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
|
||||
**/
|
||||
|
||||
class commentController extends Module {
|
||||
class commentController extends comment {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief comment 모듈의 model class
|
||||
**/
|
||||
|
||||
class commentModel extends Module {
|
||||
class commentModel extends comment {
|
||||
|
||||
/**
|
||||
* @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 클래스
|
||||
**/
|
||||
|
||||
class documentController extends Module {
|
||||
class documentController extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief document 모듈의 model 클래스
|
||||
**/
|
||||
|
||||
class documentModel extends Module {
|
||||
class documentModel extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
@ -34,8 +34,8 @@
|
|||
if($this->isGranted($document->document_srl)) {
|
||||
$document->is_granted = true;
|
||||
} elseif($document->member_srl) {
|
||||
$oMember = getModule('member');
|
||||
$member_srl = $oMember->getMemberSrl();
|
||||
$oMemberModel = getMemberModel('member');
|
||||
$member_srl = $oMemberModel->getMemberSrl();
|
||||
if($member_srl && $member_srl ==$document->member_srl) $document->is_granted = true;
|
||||
}
|
||||
return $document;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief document 모듈의 view 클래스
|
||||
**/
|
||||
|
||||
class documentView extends Module {
|
||||
class documentView extends document {
|
||||
|
||||
/**
|
||||
* @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 클래스
|
||||
**/
|
||||
|
||||
class fileController extends Module {
|
||||
class fileController extends file {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief file 모듈의 model 클래스
|
||||
**/
|
||||
|
||||
class fileModel extends Module {
|
||||
class fileModel extends file {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief file 모듈의 view 클래스
|
||||
**/
|
||||
|
||||
class fileView extends Module {
|
||||
class fileView extends file {
|
||||
|
||||
/**
|
||||
* @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
|
||||
**/
|
||||
|
||||
class installController extends Module {
|
||||
class installController extends install {
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief install module의 View class
|
||||
**/
|
||||
|
||||
class installView extends Module {
|
||||
class installView extends install {
|
||||
|
||||
/**
|
||||
* @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 미구현
|
||||
**/
|
||||
|
||||
class logController extends Module {
|
||||
class logController extends log {
|
||||
|
||||
/**
|
||||
* @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
|
||||
**/
|
||||
|
||||
class memberController extends Module {
|
||||
class memberController extends member {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief member module의 Model class
|
||||
**/
|
||||
|
||||
class memberModel extends Module {
|
||||
class memberModel extends member {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief member module의 View class
|
||||
**/
|
||||
|
||||
class memberView extends Module {
|
||||
class memberView extends member {
|
||||
|
||||
var $group_list = 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
|
||||
**/
|
||||
|
||||
class messageView extends Module {
|
||||
class messageView extends message {
|
||||
|
||||
/**
|
||||
* @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
|
||||
**/
|
||||
|
||||
class moduleController extends Module {
|
||||
class moduleController extends ModuleObject {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
**/
|
||||
function insertModule($args) {
|
||||
// module model 객체 생성
|
||||
$oModuleModel = getModule('module','model');
|
||||
$oModuleModel = getModel('module');
|
||||
|
||||
// 선택된 스킨정보에서 colorset을 구함
|
||||
$skin_info = $oModuleModel->loadSkinInfo($args->module, $args->skin);
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
// plugin 삭제
|
||||
|
||||
// document 삭제
|
||||
$oDocumentController = getModule('document', 'controller');
|
||||
$oDocumentController = getController('document');
|
||||
$output = $oDocumentController->deleteModuleDocument($module_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
|
|
@ -109,17 +109,17 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
// trackbacks 삭제
|
||||
$oTrackbackController = getModule('trackback','controller');
|
||||
$oTrackbackController = getController('trackback');
|
||||
$output = $oTrackbackController->deleteModuleTrackbacks($module_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// comments 삭제
|
||||
$oCommentController = getModule('comment','controller');
|
||||
$oCommentController = getController('comment');
|
||||
$output = $oCommentController->deleteModuleComments($module_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// tags 삭제
|
||||
$oTagController = getModule('tag','controller');
|
||||
$oTagController = getController('tag');
|
||||
$output = $oTagController->deleteModuleTags($module_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief module 모듈의 Model class
|
||||
**/
|
||||
|
||||
class moduleModel extends Module {
|
||||
class moduleModel extends module {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief module 모듈의 View class
|
||||
**/
|
||||
|
||||
class moduleView extends Module {
|
||||
class moduleView extends module {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
**/
|
||||
function dispContent() {
|
||||
// 모듈모델 객체를 구함
|
||||
$oModuleModel = getModule('module','model');
|
||||
$oModuleModel = getModel('module');
|
||||
|
||||
// 등록된 모듈의 목록을 구해옴
|
||||
$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 초기화
|
||||
|
|
|
|||
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
|
||||
**/
|
||||
|
||||
class tagController extends Module {
|
||||
class tagController extends tag {
|
||||
|
||||
/**
|
||||
* @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
|
||||
**/
|
||||
|
||||
class trackbackController extends Module {
|
||||
class trackbackController extends trackback {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief trackback 모듈의 model class
|
||||
**/
|
||||
|
||||
class trackbackModel extends Module {
|
||||
class trackbackModel extends trackback {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @brief trackback모듈의 View class
|
||||
**/
|
||||
|
||||
class trackbackView extends Module {
|
||||
class trackbackView extends trackback {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue