Public Member Functions | |
| EasyDownload () | |
| setContentType ($strValue) | |
| _setContentLength () | |
| setContentDisposition ($strValue) | |
| setContentTransferEncoding ($strValue) | |
| setPath ($strValue) | |
| setFileName ($strValue) | |
| setFileNameDown ($strValue) | |
| send () | |
Public Attributes | |
| $ContentType | |
| $ContentLength | |
| $ContentDisposition | |
| $ContentTransferEncoding | |
| $Path | |
| $FileName | |
| $FileNameDown | |
Definition at line 8 of file EasyDownload.class.
| EasyDownload::EasyDownload | ( | ) |
Constructor public
Definition at line 22 of file EasyDownload.class.
| EasyDownload::setContentType | ( | $ | strValue | ) |
| EasyDownload::_setContentLength | ( | ) |
It configures value Header 'ContentLength' with the size of the informed file
Definition at line 48 of file EasyDownload.class.
Referenced by send().
Here is the caller graph for this function:

| EasyDownload::setContentDisposition | ( | $ | strValue | ) |
It configures value Header 'ContentDisposition' public
Definition at line 57 of file EasyDownload.class.
| EasyDownload::setContentTransferEncoding | ( | $ | strValue | ) |
It configures value Header 'ContentTransferEncoding' public
Definition at line 66 of file EasyDownload.class.
| EasyDownload::setPath | ( | $ | strValue | ) |
It configures the physical place where the file if finds in the server public
Prevents unwanted access ../*
Definition at line 75 of file EasyDownload.class.
| EasyDownload::setFileName | ( | $ | strValue | ) |
It configures the real name of the archive in the server public
Prevents unwanted access ../*
Definition at line 94 of file EasyDownload.class.
| EasyDownload::setFileNameDown | ( | $ | strValue | ) |
It configures the personalized name of the file (therefore it can be different of the located real name in the server) public
Definition at line 114 of file EasyDownload.class.
| EasyDownload::send | ( | ) |
Init Download public
Definition at line 123 of file EasyDownload.class.
References _setContentLength().
Here is the call graph for this function:

| EasyDownload::$ContentType |
Definition at line 10 of file EasyDownload.class.
| EasyDownload::$ContentLength |
Definition at line 11 of file EasyDownload.class.
| EasyDownload::$ContentDisposition |
Definition at line 12 of file EasyDownload.class.
| EasyDownload::$ContentTransferEncoding |
Definition at line 13 of file EasyDownload.class.
| EasyDownload::$Path |
Definition at line 14 of file EasyDownload.class.
| EasyDownload::$FileName |
Definition at line 15 of file EasyDownload.class.
| EasyDownload::$FileNameDown |
Definition at line 16 of file EasyDownload.class.