Doc
This commit is contained in:
parent
51d43a28c9
commit
89e3c8bec7
1 changed files with 1 additions and 0 deletions
|
|
@ -615,6 +615,7 @@ class Documents extends DolibarrApi
|
|||
$filearraytmp = dol_dir_list($upload_dir, $type, $recursive, '', '(\.meta|_preview.*\.png)$', $sortfield, (strtolower($sortorder) == 'desc' ? SORT_DESC : SORT_ASC), 1);
|
||||
|
||||
$filearray = $filearraytmp; // We store answer into an array that we will extends with ecm data
|
||||
/** @var $filearray array<array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,ref:string,label:string,filepath:string,filename:string,fullpath_orig:string,position:int,gen_or_uploaded:int,description:string,keywords:string,cover:int,share:int,date_c:string,agenda_id:int,fk_user_c:int,fk_user_m:int,note_private:string,note_public:string}> */
|
||||
$countarray = count($filearray);
|
||||
$filearray = array_slice($filearray, $limit * $page, $limit);
|
||||
if (empty($filearray)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue