mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3613 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d725c15649
commit
8e2a4d93f1
1 changed files with 8 additions and 7 deletions
|
|
@ -72,15 +72,16 @@
|
|||
// 정해진 모듈에서 문서별 파일 목록을 구함
|
||||
$files_output = executeQueryArray("file.getOneFileInDocument", $obj);
|
||||
$files_count = count($files_output->data);
|
||||
|
||||
$document_srl_list = array();
|
||||
for($i=0;$i<$files_count;$i++) $document_srl_list[] = $files_output->data[$i]->document_srl;
|
||||
if($files_count>0) {
|
||||
for($i=0;$i<$files_count;$i++) $document_srl_list[] = $files_output->data[$i]->document_srl;
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
$tmp_document_list = $oDocumentModel->getDocuments($document_srl_list);
|
||||
$document_list = array();
|
||||
if(count($tmp_document_list)) {
|
||||
foreach($tmp_document_list as $val) $document_list[] = $val;
|
||||
$oDocumentModel = &getModel('document');
|
||||
$tmp_document_list = $oDocumentModel->getDocuments($document_srl_list);
|
||||
$document_list = array();
|
||||
if(count($tmp_document_list)) {
|
||||
foreach($tmp_document_list as $val) $document_list[] = $val;
|
||||
}
|
||||
}
|
||||
|
||||
$document_count = count($document_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue