git-svn-id: http://xe-core.googlecode.com/svn/trunk@126 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-20 07:41:44 +00:00
parent ee2a89b7ce
commit e7d5dd84e8
27 changed files with 395 additions and 279 deletions

View file

@ -20,7 +20,7 @@
$oDB = &DB::getInstance();
$args->document_srl = $document_srl;
$output = $oDB->executeQuery('document.getFilesCount', $args);
$output = $oDB->executeQuery('file.getFilesCount', $args);
return (int)$output->data->count;
}
@ -31,7 +31,7 @@
$oDB = &DB::getInstance();
$args->file_srl = $file_srl;
$output = $oDB->executeQuery('document.getFile', $args);
$output = $oDB->executeQuery('file.getFile', $args);
return $output->data;
}
@ -43,7 +43,7 @@
$args->document_srl = $document_srl;
$args->sort_index = 'file_srl';
$output = $oDB->executeQuery('document.getFiles', $args);
$output = $oDB->executeQuery('file.getFiles', $args);
$file_list = $output->data;
@ -73,7 +73,7 @@
// 이상이 없으면 download_count 증가
$args->file_srl = $file_srl;
$oDB = &DB::getInstance();
$oDB->executeQuery('document.updateFileDownloadCount', $args);
$oDB->executeQuery('file.updateFileDownloadCount', $args);
// 파일 출력
$filename = $file_obj->source_filename;