Lines Matching refs:filename
91 … $filename = $download ? addcslashes(string: basename(path: $path), characters: '"') : '';
93 …mageResponse(data: $filesystem->read(location: $path), mime_type: $mime_type, filename: $filename);
117 return $this->imageResponse(data: $data, mime_type: $mime_type, filename: '');
139 $path = $media_file->filename();
150 $filename = $download ? basename(path: $path) : '';
154 return $this->imageResponse(data: $data, mime_type: $mime_type, filename: $filename);
181 $path = $media_file->filename();
214 return $this->imageResponse(data: $data, mime_type: $mime_type, filename: '');
283 …protected function imageResponse(string $data, string $mime_type, string $filename): ResponseInter… argument
295 if ($filename === '') {
300 …sition', 'attachment; filename="' . addcslashes(string: basename(path: $filename), characters: '"'…