git-svn-id: http://xe-core.googlecode.com/svn/trunk@477 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-16 03:36:45 +00:00
parent a22af04abc
commit f0f9a02f73
4 changed files with 75 additions and 0 deletions

View 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>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<module>
<grants />
<actions>
<action name="dispEditor" type="view" standalone="true" />
</actions>
</module>

View 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();
}
}
?>

View 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');
}
}
?>