/webtrees/tests/app/Http/RequestHandlers/ |
H A D | ManageMediaDataTest.php | 43 $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 D | UploadMediaActionTest.php | 34 $media_file_service = new MediaFileService(); 35 $handler = new UploadMediaAction($media_file_service);
|
H A D | UploadMediaPageTest.php | 34 $media_file_service = new MediaFileService(); 35 $handler = new UploadMediaPage($media_file_service);
|
H A D | ManageMediaPageTest.php | 34 $media_file_service = new MediaFileService(); 35 $handler = new ManageMediaPage($media_file_service);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | CreateMediaObjectModal.php | 34 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 D | AddMediaFileModal.php | 41 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 D | EditMediaFileModal.php | 42 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 D | AddMediaFileAction.php | 40 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 D | CreateMediaObjectAction.php | 41 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 D | ManageMediaAction.php | 37 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 D | UploadMediaPage.php | 42 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 D | AdminMediaFileThumbnail.php | 36 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 D | AdminMediaFileDownload.php | 36 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 D | AutoCompleteFolder.php | 35 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 D | ManageMediaPage.php | 38 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 D | CreateMediaObjectFromFile.php | 35 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 D | UploadMediaAction.php | 53 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 D | ManageMediaData.php | 65 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 D | EditMediaFileAction.php | 49 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, '');
|