Class NDownloadResponse
File download response.
- NObject
-
NDownloadResponse implements IPresenterResponse
public
|
#
__construct(
string
$file,
string
$name = NULL,
string
$contentType = NULL
)
Parameters$file string file path$name string user name name$contentType string MIME content type |
final public
string
|
#
getFile(
)
Returns the path to a downloaded file. Returns the path to a downloaded file. |
final public
string
|
#
getName(
)
Returns the file name. Returns the file name. |
final public
string
|
#
getContentType(
)
Returns the MIME content type of a downloaded file. Returns the MIME content type of a downloaded file. |
public
void
|
#
send(
)
Sends response to output. |