Lines Matching refs:file
197 $file = $new_file;
199 $file = $uploaded_file->getClientFilename();
210 if ($auto === '1' || $tree->mediaFilesystem()->fileExists($folder . $file)) {
213 $file = sha1((string) $uploaded_file->getStream()) . '.' . $extension;
217 … $tree->mediaFilesystem()->writeStream($folder . $file, $uploaded_file->getStream()->detach());
219 return $folder . $file;
233 * @param string $file
240 …public function createMediaFileGedcom(string $file, string $type, string $title, string $note): st… argument
242 $gedcom = '1 FILE ' . $file;
244 if (str_contains($file, '://')) {
247 $format = strtoupper(pathinfo($file, PATHINFO_EXTENSION));