mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@69 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0e91a4e4be
commit
ab5a684447
3 changed files with 88 additions and 89 deletions
|
|
@ -257,7 +257,7 @@
|
||||||
**/
|
**/
|
||||||
function loadModuleXml($module_path) {
|
function loadModuleXml($module_path) {
|
||||||
// 현재 선택된 모듈의 스킨의 정보 xml 파일을 읽음
|
// 현재 선택된 모듈의 스킨의 정보 xml 파일을 읽음
|
||||||
$xml_file = sprintf("%s/module.xml", $module_path);
|
$xml_file = sprintf("%s/conf/info.xml", $module_path);
|
||||||
if(!file_exists($xml_file)) return;
|
if(!file_exists($xml_file)) return;
|
||||||
|
|
||||||
$oXmlParser = new XmlParser();
|
$oXmlParser = new XmlParser();
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class tag extends Module {
|
class tag extends Module {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 모듈의 정보
|
* 모듈의 정보
|
||||||
**/
|
**/
|
||||||
|
|
@ -34,16 +33,16 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
// 초기화
|
// 초기화
|
||||||
function init() {/*{{{*/
|
function init() {
|
||||||
}/*}}}*/
|
}
|
||||||
|
|
||||||
// disp 초기화
|
// disp 초기화
|
||||||
function dispInit() {/*{{{*/
|
function dispInit() {
|
||||||
}/*}}}*/
|
}
|
||||||
|
|
||||||
// proc 초기화
|
// proc 초기화
|
||||||
function procInit() {/*{{{*/
|
function procInit() {
|
||||||
}/*}}}*/
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 여기서부터는 action의 구현
|
* 여기서부터는 action의 구현
|
||||||
|
|
@ -57,7 +56,7 @@
|
||||||
* 여기부터는 이 모듈과 관련된 라이브러리 개념의 method들
|
* 여기부터는 이 모듈과 관련된 라이브러리 개념의 method들
|
||||||
**/
|
**/
|
||||||
|
|
||||||
// public string insertTag($module_srl, $document_srl, $tags)/*{{{*/
|
// public string insertTag($module_srl, $document_srl, $tags)
|
||||||
// 태그 입력
|
// 태그 입력
|
||||||
function insertTag($module_srl, $document_srl, $tags) {
|
function insertTag($module_srl, $document_srl, $tags) {
|
||||||
|
|
||||||
|
|
@ -88,23 +87,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
return implode(',',$tag_list);
|
return implode(',',$tag_list);
|
||||||
}/*}}}*/
|
}
|
||||||
|
|
||||||
// public boolean deleteTag($document_srl)/*{{{*/
|
// public boolean deleteTag($document_srl)
|
||||||
// 특정 문서의 태그 삭제
|
// 특정 문서의 태그 삭제
|
||||||
function deleteTag($document_srl) {
|
function deleteTag($document_srl) {
|
||||||
$oDB = &DB::getInstance();
|
$oDB = &DB::getInstance();
|
||||||
$args->document_srl = $document_srl;
|
$args->document_srl = $document_srl;
|
||||||
return $oDB->executeQuery('tag.deleteTag', $args);
|
return $oDB->executeQuery('tag.deleteTag', $args);
|
||||||
}/*}}}*/
|
}
|
||||||
|
|
||||||
// public boolean deleteModuleTags($module_sr)/*{{{*/
|
// public boolean deleteModuleTags($module_sr)
|
||||||
// 특정 모듈의 태그 삭제
|
// 특정 모듈의 태그 삭제
|
||||||
function deleteModuleTags($module_srl) {
|
function deleteModuleTags($module_srl) {
|
||||||
// 삭제
|
// 삭제
|
||||||
$oDB = &DB::getInstance();
|
$oDB = &DB::getInstance();
|
||||||
$args->module_srl = $module_srl;
|
$args->module_srl = $module_srl;
|
||||||
return $oDB->executeQuery('tag.deleteModuleTags', $args);
|
return $oDB->executeQuery('tag.deleteModuleTags', $args);
|
||||||
}/*}}}*/
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue