mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 01:42:14 +09:00
1. layout에 기존의 blog모듈의 xe_blog 레이아웃 스킨을 적용
2. 레이아웃 편집/수정시 모듈의 관리권한을 그대로 적용되도록 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3556 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
da08ff2262
commit
bfbf140d7c
60 changed files with 542 additions and 10 deletions
|
|
@ -52,6 +52,23 @@
|
|||
return $this->arrangeModuleInfo($output->data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief layout_srl에 해당하는 모듈의 정보를 구함
|
||||
**/
|
||||
function getModulesInfoByLayout($layout_srl) {
|
||||
// 데이터를 가져옴
|
||||
$args->layout_srl = $layout_srl;
|
||||
$output = executeQueryArray('module.getModulesByLayout', $args);
|
||||
|
||||
$count = count($output->data);
|
||||
|
||||
$modules = array();
|
||||
for($i=0;$i<$count;$i++) {
|
||||
$modules[] = $this->arrangeModuleInfo($output->data[$i]);
|
||||
}
|
||||
return $modules;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 여러개의 module_srl에 해당하는 모듈의 정보를 구함
|
||||
**/
|
||||
|
|
|
|||
11
modules/module/queries/getModulesByLayout.xml
Normal file
11
modules/module/queries/getModulesByLayout.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getModulesByLayout" action="select">
|
||||
<tables>
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="layout_srl" var="layout_srl" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue