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

Parameters

$file
$name
$contentType

at line 72
final string getFile()

Returns the path to an downloaded file.

Return Value

string

at line 83
final string getName()

Returns the file name.

Return Value

string

at line 94
final string getContentType()

Returns the MIME content type of an downloaded file.

Return Value

string

at line 105
void send()

Sends response to output.

Return Value

void