Searched refs:data_filesystem (Results 1 – 14 of 14) sorted by relevance
/webtrees/app/Http/RequestHandlers/ |
H A D | ManageMediaData.php | 94 $data_filesystem = Registry::filesystem()->data(); 99 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem)->all(); 218 …$disk_files = $this->media_file_service->allFilesOnDisk($data_filesystem, $media_folder, $subfolde… 228 $callback = function (array $row) use ($data_filesystem, $media_trees): array { 230 $mime_type = $data_filesystem->mimeType($row[0]) ?: Mime::DEFAULT_TYPE; 260 $this->mediaFileInfo($data_filesystem, $row[0]) . $delete_link, 333 * @param FilesystemOperator $data_filesystem 338 private function mediaFileInfo(FilesystemOperator $data_filesystem, string $file): string argument 345 $file_exists = $data_filesystem->fileExists($file); 352 $size = $data_filesystem->fileSize($file); [all …]
|
H A D | UploadMediaAction.php | 70 $data_filesystem = Registry::filesystem()->data(); 71 $all_folders = $this->media_file_service->allMediaFolders($data_filesystem); 115 $file_exists = $data_filesystem->fileExists($path); 127 $data_filesystem->writeStream($path, $uploaded_file->getStream()->detach());
|
H A D | SynchronizeTrees.php | 78 $data_filesystem = Registry::filesystem()->data(); 80 $gedcom_files = $this->admin_service->gedcomFiles($data_filesystem); 85 $filemtime = (string) $data_filesystem->lastModified($gedcom_file); 90 $resource = $data_filesystem->readStream($gedcom_file);
|
H A D | DeletePath.php | 67 $data_filesystem = Registry::filesystem()->data(); 81 $data_filesystem->deleteDirectory($normalized_path); 88 $data_filesystem->delete($normalized_path);
|
H A D | ManageMediaAction.php | 54 $data_filesystem = Registry::filesystem()->data(); 55 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem)->all();
|
H A D | UploadMediaPage.php | 61 $data_filesystem = Registry::filesystem()->data(); 63 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem);
|
H A D | ImportGedcomPage.php | 61 $data_filesystem = Registry::filesystem()->data(); 66 $gedcom_files = $this->admin_service->gedcomFiles($data_filesystem);
|
H A D | MapDataImportPage.php | 53 $data_filesystem = Registry::filesystem()->data(); 57 $files = $data_filesystem->listContents('places')
|
H A D | ManageMediaPage.php | 57 $data_filesystem = Registry::filesystem()->data(); 62 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem);
|
H A D | CleanDataFolder.php | 61 $data_filesystem = Registry::filesystem()->data(); 86 $entries = $data_filesystem->listContents('', FilesystemReader::LIST_SHALLOW)
|
H A D | ExportGedcomServer.php | 69 $data_filesystem = Registry::filesystem()->data(); 80 $data_filesystem->writeStream($filename, $resource);
|
H A D | UpgradeWizardStep.php | 210 $data_filesystem = Registry::filesystem()->data(); 213 $data_filesystem->writeStream($filename, $stream);
|
/webtrees/app/Http/Middleware/ |
H A D | DoHousekeeping.php | 84 * @param FilesystemOperator $data_filesystem 89 …private function runHousekeeping(FilesystemOperator $data_filesystem, FilesystemOperator $root_fil… argument 92 …$this->housekeeping_service->deleteOldFiles($data_filesystem, self::THUMBNAIL_DIR, self::MAX_THUMB…
|
/webtrees/app/Services/ |
H A D | MediaFileService.php | 348 * @param FilesystemOperator $data_filesystem 353 public function allMediaFolders(FilesystemOperator $data_filesystem): Collection argument 379 $tmp = $data_filesystem
|