some additional documentation for getDocumentByName()

This commit is contained in:
Uwe Steinmann 2020-07-28 18:12:13 +02:00
parent ce7360f13b
commit 245e54f893

View File

@ -748,7 +748,9 @@ class SeedDMS_Core_DMS {
* Returns a document by its name
*
* This function searches a document by its name and restricts the search
* to given folder if passed as the second parameter.
* to the given folder if passed as the second parameter.
* If there are more than one document with that name, then only the first
* one will be returned.
*
* @param string $name
* @param object $folder