DownloadFormat.php
65 $response->setHeader("Content-Disposition", 'attachment; filename="'.basename($document->getFilename()).'"');
serializeValues(Response $response)
Definition: DownloadFormat.php:81
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
isCached(Response $response)
Definition: DownloadFormat.php:35
Format defines the interface for all format classes.
Definition: Format.php:25
DownloadFormat is used for downloads.
Definition: DownloadFormat.php:23
deserializeValues(Request $request)
Definition: DownloadFormat.php:74
getMimeType(Response $response=null)
Definition: DownloadFormat.php:28
getCacheLifetime()
Get the lifetime of a cached response.
getCacheDate(Response $response)
Definition: DownloadFormat.php:52
AbstractFormat is used as base class for specialized formats.
Definition: AbstractFormat.php:27
getResponseHeaders(Response $response)
Definition: DownloadFormat.php:60