Class NDownloadResponse
File download response.
NObject | --NDownloadResponse
Implements interfaces:
Public Method Summary | |
---|---|
NDownloadResponse |
|
string |
Returns the MIME content type of an downloaded file.
|
string |
getFile
()
Returns the path to an downloaded file.
|
string |
getName
()
Returns the file name.
|
void |
send
()
Sends response to output.
|
Methods Inherited From NObject |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Method Details | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 53 __constructpublic NDownloadResponse __construct (string $file, [string $name =
|
||||||||||||||||||
line 92 getContentTypepublic string getContentType () Returns the MIME content type of an downloaded file.
|
||||||||||||||||||
line 70 getFilepublic string getFile () Returns the path to an downloaded file.
|
||||||||||||||||||
line 81 getNamepublic string getName () Returns the file name.
|
||||||||||||||||||
line 103 sendpublic void send () Sends response to output. Implementation of:
|