mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
8326004cb2
2773 changed files with 91485 additions and 0 deletions
53
modules/blog/blog.class.php
Normal file
53
modules/blog/blog.class.php
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<?php
|
||||
/**
|
||||
* @class blog
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief blog 모듈의 high class
|
||||
**/
|
||||
|
||||
class blog extends ModuleObject {
|
||||
|
||||
var $skin = "default"; ///< 스킨 이름
|
||||
var $list_count = 1; ///< 한 페이지에 나타날 글의 수
|
||||
var $page_count = 10; ///< 페이지의 수
|
||||
|
||||
var $editor = 'default'; ///< 에디터 종류
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminContent');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminBlogInfo');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminInsertBlog');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminDeleteBlog');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminSkinInfo');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminCategoryInfo');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminMenuInfo');
|
||||
$oModuleController->insertActionForward('blog', 'view', 'dispBlogAdminGrantInfo');
|
||||
$oModuleController->insertActionForward('blog', 'controller', 'procBlogAdminUpdateSkinInfo');
|
||||
|
||||
// 캐쉬로 사용할 디렉토리 생성
|
||||
FileHandler::makeDir('./files/cache/blog_category');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
return new Object();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue