Trait Files
package |
OCA\Gallery\Controller |
---|
fixPaths(array $files, string $folderPathFromRoot) : array
We only want to keep one folder between the current folder and the found media file /root/folder/sub1/sub2/file.ext becomes /root/folder/file.ext
array
string
array
getDownload(integer $fileId, string|null $filename) : array|false
integer
the ID of the file of which we need a large preview of
string|null
array|false
getFilesAndAlbums(string $location, array $features, string $etag, array $mediatypes) : array
NoAdminRequired |
Returns a list of all media files and albums available to the authenticated user
|
---|
string
a path representing the current album in the app
array
the list of supported features
string
the last known etag in the client
array
the list of supported media types
array
<string,array<string,string|int>>|Http\JSONResponse
searchFolderService : \OCA\Gallery\Service\SearchFolderService
configService : \OCA\Gallery\Service\ConfigService
searchMediaService : \OCA\Gallery\Service\SearchMediaService
downloadService : \OCA\Gallery\Service\DownloadService
logger : \OCP\ILogger
var |
---|
\OCP\ILogger