minor documentation fix

This commit is contained in:
Uwe Steinmann 2016-11-11 16:20:10 +01:00
parent 3ddd24c7cd
commit 106f849e82

View File

@ -734,7 +734,7 @@ class SeedDMS_Core_DMS {
* І have already taken care of. * І have already taken care of.
* @param string $param3 sort list by this field * @param string $param3 sort list by this field
* @param string $param4 order direction * @param string $param4 order direction
* @return array list of documents * @return array list of documents records
*/ */
function getDocumentList($listtype, $param1=null, $param2=false, $param3='', $param4='') { /* {{{ */ function getDocumentList($listtype, $param1=null, $param2=false, $param3='', $param4='') { /* {{{ */
/* The following query will get all documents and lots of additional /* The following query will get all documents and lots of additional
@ -1043,6 +1043,11 @@ class SeedDMS_Core_DMS {
if (is_bool($resArr) && !$resArr) { if (is_bool($resArr) && !$resArr) {
return false; return false;
} }
/*
$documents = array();
foreach($resArr as $row)
$documents[] = $this->getDocument($row["id"]);
*/
} else { } else {
return array(); return array();
} }