DownloadResponse
class DownloadResponse extends Object implements IPresenterResponse
File download response.
Methods
__construct($file, $name = NULL, $contentType = NULL)
No description
string
getFile()
Returns the path to an downloaded file.
string
getName()
Returns the file name.
string
getContentType()
Returns the MIME content type of an downloaded file.
void
send()
Sends response to output.
Details
at line 55
__construct($file, $name = NULL, $contentType = NULL)
No description
at line 72
final string
getFile()
Returns the path to an downloaded file.
at line 83
final string
getName()
Returns the file name.
at line 94
final string
getContentType()
Returns the MIME content type of an downloaded file.
at line 105
void
send()
Sends response to output.