mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@420 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5dfec5a0c4
commit
99ca20908e
7 changed files with 50 additions and 8 deletions
|
|
@ -108,6 +108,23 @@
|
|||
return $module_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief DB에 생성된 mid목록을 구해옴
|
||||
**/
|
||||
function getMidList() {
|
||||
$oDB = &DB::getInstance();
|
||||
$output = $oDB->executeQuery('module.getMidList');
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$list = $output->data;
|
||||
if(!$list) return;
|
||||
if(!is_array($list)) $list = array($list);
|
||||
foreach($list as $val) {
|
||||
$mid_list[$val->mid] = $val;
|
||||
}
|
||||
return $mid_list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 특정 모듈의 스킨의 정보를 구해옴
|
||||
**/
|
||||
|
|
|
|||
11
modules/module/queries/getMidList.xml
Normal file
11
modules/module/queries/getMidList.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getMidList" action="select">
|
||||
<tables>
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<navigation>
|
||||
<index var="sort_index" default="mid" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue