namespace Nette\Application
Class DownloadResponse
File download response.
- Nette\Object
-
Nette\Application\DownloadResponse 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(
Nette\Web\IHttpRequest
$httpRequest,
Nette\Web\IHttpResponse
$httpResponse
)
Sends response to output. |
Methods Inherited From Nette\Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
bool
|
$resuming | true |
# |