Home
last modified time | relevance | path

Searched refs:data_filesystem (Results 1 – 14 of 14) sorted by relevance

/webtrees/app/Http/RequestHandlers/
H A DManageMediaData.php94 $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 DUploadMediaAction.php70 $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 DSynchronizeTrees.php78 $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 DDeletePath.php67 $data_filesystem = Registry::filesystem()->data();
81 $data_filesystem->deleteDirectory($normalized_path);
88 $data_filesystem->delete($normalized_path);
H A DManageMediaAction.php54 $data_filesystem = Registry::filesystem()->data();
55 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem)->all();
H A DUploadMediaPage.php61 $data_filesystem = Registry::filesystem()->data();
63 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem);
H A DImportGedcomPage.php61 $data_filesystem = Registry::filesystem()->data();
66 $gedcom_files = $this->admin_service->gedcomFiles($data_filesystem);
H A DMapDataImportPage.php53 $data_filesystem = Registry::filesystem()->data();
57 $files = $data_filesystem->listContents('places')
H A DManageMediaPage.php57 $data_filesystem = Registry::filesystem()->data();
62 $media_folders = $this->media_file_service->allMediaFolders($data_filesystem);
H A DCleanDataFolder.php61 $data_filesystem = Registry::filesystem()->data();
86 $entries = $data_filesystem->listContents('', FilesystemReader::LIST_SHALLOW)
H A DExportGedcomServer.php69 $data_filesystem = Registry::filesystem()->data();
80 $data_filesystem->writeStream($filename, $resource);
H A DUpgradeWizardStep.php210 $data_filesystem = Registry::filesystem()->data();
213 $data_filesystem->writeStream($filename, $stream);
/webtrees/app/Http/Middleware/
H A DDoHousekeeping.php84 * @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 DMediaFileService.php348 * @param FilesystemOperator $data_filesystem
353 public function allMediaFolders(FilesystemOperator $data_filesystem): Collection argument
379 $tmp = $data_filesystem