1 | <?php |
||
23 | class FilesPublicController extends FilesController { |
||
24 | |||
25 | /** |
||
26 | * @PublicPage |
||
27 | * |
||
28 | * Returns a list of all images from the folder the link gives access to |
||
29 | * |
||
30 | * @inheritDoc |
||
31 | * |
||
32 | * @param string $location a path representing the current album in the app |
||
33 | * @param string $features the list of supported features |
||
34 | * @param string $etag the last known etag in the client |
||
35 | * @param string $mediatypes the list of supported media types |
||
36 | */ |
||
37 | 4 | public function getList($location, $features, $etag, $mediatypes) { |
|
40 | |||
41 | /** |
||
42 | * @PublicPage |
||
43 | * @NoCSRFRequired |
||
44 | * |
||
45 | * Sends the file matching the fileId |
||
46 | * |
||
47 | * @inheritDoc |
||
48 | * |
||
49 | * @param int $fileId the ID of the file we want to download |
||
50 | * @param string|null $filename |
||
51 | */ |
||
52 | 6 | public function download($fileId, $filename = null) { |
|
55 | } |
||
56 |