mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 03:09:55 +09:00
최근 이미지 추출시 대상 모듈들의 문서별 이미지 1개씩만을 대상으로 하여 데이터 추출하도록 변경. 기본 스킨에 작성자 닉네임 표시하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2076 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87727ec117
commit
f7e29bb654
6 changed files with 54 additions and 15 deletions
|
|
@ -33,8 +33,8 @@
|
|||
/**
|
||||
* @brief 여러개의 문서들을 가져옴 (페이징 아님)
|
||||
**/
|
||||
function getDocuments($document_srl_list, $is_admin = false) {
|
||||
if(is_array($document_srl_list)) $document_srls = implode(',',$document_srl_list);
|
||||
function getDocuments($document_srls, $is_admin = false) {
|
||||
if(is_array($document_srls)) $document_srls = implode(',',$document_srls);
|
||||
|
||||
// DB에서 가져옴
|
||||
$args->document_srls = $document_srls;
|
||||
|
|
|
|||
20
modules/file/queries/getOneFileInDocument.xml
Normal file
20
modules/file/queries/getOneFileInDocument.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<query id="getOneFileInDocument" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="module_srl" var="module_srl" filter="number" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="upload_target_srl" />
|
||||
</groups>
|
||||
<navigation>
|
||||
<index var="sort_index" default="file_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
</navigation>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue