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

This commit is contained in:
zero 2007-02-15 09:32:48 +00:00
parent 0e91a4e4be
commit ab5a684447
3 changed files with 88 additions and 89 deletions

View file

@ -257,7 +257,7 @@
**/
function loadModuleXml($module_path) {
// 현재 선택된 모듈의 스킨의 정보 xml 파일을 읽음
$xml_file = sprintf("%s/module.xml", $module_path);
$xml_file = sprintf("%s/conf/info.xml", $module_path);
if(!file_exists($xml_file)) return;
$oXmlParser = new XmlParser();

View file

@ -9,7 +9,6 @@
**/
class tag extends Module {
/**
* 모듈의 정보
**/
@ -34,16 +33,16 @@
**/
// 초기화
function init() {/*{{{*/
}/*}}}*/
function init() {
}
// disp 초기화
function dispInit() {/*{{{*/
}/*}}}*/
function dispInit() {
}
// proc 초기화
function procInit() {/*{{{*/
}/*}}}*/
function procInit() {
}
/**
* 여기서부터는 action의 구현
@ -57,7 +56,7 @@
* 여기부터는 모듈과 관련된 라이브러리 개념의 method들
**/
// public string insertTag($module_srl, $document_srl, $tags)/*{{{*/
// public string insertTag($module_srl, $document_srl, $tags)
// 태그 입력
function insertTag($module_srl, $document_srl, $tags) {
@ -88,23 +87,23 @@
}
return implode(',',$tag_list);
}/*}}}*/
}
// public boolean deleteTag($document_srl)/*{{{*/
// public boolean deleteTag($document_srl)
// 특정 문서의 태그 삭제
function deleteTag($document_srl) {
$oDB = &DB::getInstance();
$args->document_srl = $document_srl;
return $oDB->executeQuery('tag.deleteTag', $args);
}/*}}}*/
}
// public boolean deleteModuleTags($module_sr)/*{{{*/
// public boolean deleteModuleTags($module_sr)
// 특정 모듈의 태그 삭제
function deleteModuleTags($module_srl) {
// 삭제
$oDB = &DB::getInstance();
$args->module_srl = $module_srl;
return $oDB->executeQuery('tag.deleteModuleTags', $args);
}/*}}}*/
}
}
?>