Home
last modified time | relevance | path

Searched refs:media_file_service (Results 1 – 19 of 19) sorted by relevance

/webtrees/tests/app/Http/RequestHandlers/
H A DManageMediaDataTest.php43 $media_file_service = $this->createMock(MediaFileService::class);
44 $media_file_service->method('allMediaFolders')->willReturn(new Collection(['media/']));
46 … new ManageMediaData($datatables_service, $linked_record_service, $media_file_service, $tree_servi…
65 $media_file_service = $this->createMock(MediaFileService::class);
66 $media_file_service->method('allMediaFolders')->willReturn(new Collection(['media/']));
68 … new ManageMediaData($datatables_service, $linked_record_service, $media_file_service, $tree_servi…
87 $media_file_service = $this->createMock(MediaFileService::class);
88 $media_file_service->method('allMediaFolders')->willReturn(new Collection(['media/']));
90 … new ManageMediaData($datatables_service, $linked_record_service, $media_file_service, $tree_servi…
H A DUploadMediaActionTest.php34 $media_file_service = new MediaFileService();
35 $handler = new UploadMediaAction($media_file_service);
H A DUploadMediaPageTest.php34 $media_file_service = new MediaFileService();
35 $handler = new UploadMediaPage($media_file_service);
H A DManageMediaPageTest.php34 $media_file_service = new MediaFileService();
35 $handler = new ManageMediaPage($media_file_service);
/webtrees/app/Http/RequestHandlers/
H A DCreateMediaObjectModal.php34 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\CreateMediaObjectModal
37 * @param MediaFileService $media_file_service
39 public function __construct(MediaFileService $media_file_service) argument
41 $this->media_file_service = $media_file_service;
52 $max_upload_size = $this->media_file_service->maxUploadFilesize();
54 $unused_files = $this->media_file_service->unusedFiles($tree);
H A DAddMediaFileModal.php41 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AddMediaFileModal
44 * @param MediaFileService $media_file_service
46 public function __construct(MediaFileService $media_file_service) argument
48 $this->media_file_service = $media_file_service;
73 $max_upload_size = $this->media_file_service->maxUploadFilesize();
75 $unused_files = $this->media_file_service->unusedFiles($tree);
H A DEditMediaFileModal.php42 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\EditMediaFileModal
45 * @param MediaFileService $media_file_service
47 public function __construct(MediaFileService $media_file_service) argument
49 $this->media_file_service = $media_file_service;
81 'max_upload_size' => $this->media_file_service->maxUploadFilesize(),
84 'unused_files' => $this->media_file_service->unusedFiles($tree),
H A DAddMediaFileAction.php40 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AddMediaFileAction
45 * @param MediaFileService $media_file_service
48 …public function __construct(MediaFileService $media_file_service, PendingChangesService $pending_c… argument
50 $this->media_file_service = $media_file_service;
73 $file = $this->media_file_service->uploadFile($request);
81 $gedcom = $this->media_file_service->createMediaFileGedcom($file, $type, $title, '');
H A DCreateMediaObjectAction.php41 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\CreateMediaObjectAction
46 * @param MediaFileService $media_file_service
49 …public function __construct(MediaFileService $media_file_service, PendingChangesService $pending_c… argument
51 $this->media_file_service = $media_file_service;
76 $file = $this->media_file_service->uploadFile($request);
91 …$gedcom = "0 @@ OBJE\n" . $this->media_file_service->createMediaFileGedcom($file, $type, $title, $…
H A DManageMediaAction.php37 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ManageMediaAction
40 * @param MediaFileService $media_file_service
42 public function __construct(MediaFileService $media_file_service) argument
44 $this->media_file_service = $media_file_service;
55 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem)->all();
H A DUploadMediaPage.php42 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\UploadMediaPage
45 * @param MediaFileService $media_file_service
47 public function __construct(MediaFileService $media_file_service) argument
49 $this->media_file_service = $media_file_service;
63 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem);
H A DAdminMediaFileThumbnail.php36 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AdminMediaFileThumbnail
39 * @param MediaFileService $media_file_service
41 public function __construct(MediaFileService $media_file_service) argument
43 $this->media_file_service = $media_file_service;
58 $media_folders = $this->media_file_service->allMediaFolders($filesystem)->all();
H A DAdminMediaFileDownload.php36 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AdminMediaFileDownload
39 * @param MediaFileService $media_file_service
41 public function __construct(MediaFileService $media_file_service) argument
43 $this->media_file_service = $media_file_service;
58 $media_folders = $this->media_file_service->allMediaFolders($filesystem)->all();
H A DAutoCompleteFolder.php35 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AutoCompleteFolder
38 * @param MediaFileService $media_file_service
41 public function __construct(MediaFileService $media_file_service, SearchService $search_service) argument
45 $this->media_file_service = $media_file_service;
59 return $this->media_file_service->mediaFolders($tree)
H A DManageMediaPage.php38 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ManageMediaPage
41 * @param MediaFileService $media_file_service
43 public function __construct(MediaFileService $media_file_service) argument
45 $this->media_file_service = $media_file_service;
62 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem);
H A DCreateMediaObjectFromFile.php35 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\CreateMediaObjectFromFile
40 * @param MediaFileService $media_file_service
43 …public function __construct(MediaFileService $media_file_service, PendingChangesService $pending_c… argument
45 $this->media_file_service = $media_file_service;
67 …$gedcom = "0 @@ OBJE\n" . $this->media_file_service->createMediaFileGedcom($file, $type, $title, $…
H A DUploadMediaAction.php53 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\UploadMediaAction
56 * @param MediaFileService $media_file_service
58 public function __construct(MediaFileService $media_file_service) argument
60 $this->media_file_service = $media_file_service;
71 $all_folders = $this->media_file_service->allMediaFolders($data_filesystem);
H A DManageMediaData.php65 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ManageMediaData
72 * @param MediaFileService $media_file_service
78 MediaFileService $media_file_service, argument
83 $this->media_file_service = $media_file_service;
99 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem)->all();
218 …$disk_files = $this->media_file_service->allFilesOnDisk($data_filesystem, $media_folder, $subfolde…
219 …$db_files = $this->media_file_service->allFilesInDatabase($media_folder, $subfolders === 'includ…
H A DEditMediaFileAction.php49 private MediaFileService $media_file_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\EditMediaFileAction
54 * @param MediaFileService $media_file_service
57 …public function __construct(MediaFileService $media_file_service, PendingChangesService $pending_c… argument
59 $this->media_file_service = $media_file_service;
139 $gedcom = $this->media_file_service->createMediaFileGedcom($file, $type, $title, '');