mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@477 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a22af04abc
commit
f0f9a02f73
4 changed files with 75 additions and 0 deletions
11
modules/editor/conf/info.xml
Normal file
11
modules/editor/conf/info.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module version="0.1">
|
||||
<title xml:lang="ko">위지윅 에디터 </title>
|
||||
<title xml:lang="en">editor</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<description xml:lang="ko">위지윅 에디터 출력 및 관리</description>
|
||||
<description xml:lang="en">editor</description>
|
||||
</author>
|
||||
</module>
|
||||
7
modules/editor/conf/module.xml
Normal file
7
modules/editor/conf/module.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module>
|
||||
<grants />
|
||||
<actions>
|
||||
<action name="dispEditor" type="view" standalone="true" />
|
||||
</actions>
|
||||
</module>
|
||||
31
modules/editor/editor.class.php
Normal file
31
modules/editor/editor.class.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
/**
|
||||
* @class editor
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief editor 모듈의 high class
|
||||
**/
|
||||
|
||||
class editor extends ModuleObject {
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function moduleIsInstalled() {
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
return new Object();
|
||||
}
|
||||
}
|
||||
?>
|
||||
26
modules/editor/editor.view.php
Normal file
26
modules/editor/editor.view.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
/**
|
||||
* @class editorView
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief editor 모듈의 view 클래스
|
||||
**/
|
||||
|
||||
class editorView extends editor {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
// template path 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 에디터 출력
|
||||
**/
|
||||
function dispEditor() {
|
||||
$this->setTemplateFile('editor.html');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue