Lines Matching full:file
45 * Edit a media file.
64 * Save an edited media file.
83 $type = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->canonical($type);
84 $title = Registry::elementFactory()->make('OBJE:FILE:TITL')->canonical($title);
90 // Media file does not exist?
95 // We can edit the file as either a URL or a folder/file
97 $file = $remote;
104 $file = $new_file;
106 $file = $folder . '/' . $new_file;
112 $file = $media_file->filename();
117 $new = $file;
127 …I18N::translate('The media file %1$s has been renamed to %2$s.', Html::filename($media_file->filen…
129 // Don't overwrite existing file
130 …8N::translate('The media file %1$s could not be renamed to %2$s.', Html::filename($media_file->fil…
131 $file = $old;
135 // File does not exist?
139 $gedcom = $this->media_file_service->createMediaFileGedcom($file, $type, $title, '');