mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@379 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6a494850da
commit
af7dc3565d
15 changed files with 204 additions and 12 deletions
|
|
@ -384,11 +384,23 @@
|
|||
$oDB = &DB::getInstance();
|
||||
|
||||
// 데이터를 DB에서 가져옴
|
||||
$args->document_srl = $document_srl;
|
||||
$output = $oDB->executeQuery('module.getModuleCategories', $args);
|
||||
$output = $oDB->executeQuery('module.getModuleCategories');
|
||||
if(!$output->toBool()) return $output;
|
||||
if($output->data && !is_array($output->data)) return array($output->data);
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
if(!is_array($output->data)) return array($output->data);
|
||||
/**
|
||||
* @brief 특정 모듈 카테고리의 내용을 구함
|
||||
**/
|
||||
function getModuleCategory($module_category_srl) {
|
||||
// DB 객체 생성
|
||||
$oDB = &DB::getInstance();
|
||||
|
||||
// 데이터를 DB에서 가져옴
|
||||
$args->module_category_srl = $module_category_srl;
|
||||
$output = $oDB->executeQuery('module.getModuleCategory', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue