XOOPS
2.6.0
|
Public Member Functions | |
__construct ($ext= '.zip', $mimyType= 'application/x-zip') | |
addBinaryFile ($filepath, $newfilename=null) | |
addBinaryFileData (&$data, $filename, $time=0) | |
addFile ($filepath, $newfilename=null) | |
addFileData (&$data, $filename, $time=0) | |
download ($name, $gzip=true) | |
Public Member Functions inherited from XoopsDownloader | |
addBinaryFile ($filepath, $newfilename=null) | |
addBinaryFileData (&$data, $filename, $time=0) | |
addFile ($filepath, $newfilename=null) | |
addFileData (&$data, $filename, $time=0) | |
download ($name, $gzip=true) | |
Additional Inherited Members | |
Protected Member Functions inherited from XoopsDownloader | |
_header ($filename) | |
Protected Attributes inherited from XoopsDownloader | |
$archiver | |
$ext | |
$mimetype | |
Definition at line 31 of file zipdownloader.php.
XoopsZipDownloader::__construct | ( | $ext = '.zip' , |
|
$mimyType = 'application/x-zip' |
|||
) |
Constructor
string | $ext | extention |
string | $mimyType | mimi type |
Definition at line 42 of file zipdownloader.php.
References XoopsDownloader\$ext.
XoopsZipDownloader::addBinaryFile | ( | $filepath, | |
$newfilename = null |
|||
) |
Add Binary File
string | $filepath | path |
string | $newfilename | name |
Definition at line 79 of file zipdownloader.php.
References $result.
XoopsZipDownloader::addBinaryFileData | ( | & | $data, |
$filename, | |||
$time = 0 |
|||
) |
Add Binary File Data
string | &$data | data |
string | $filename | name |
int | $time | file time |
Definition at line 117 of file zipdownloader.php.
References $result, and addFileData().
XoopsZipDownloader::addFile | ( | $filepath, | |
$newfilename = null |
|||
) |
Add file
string | $filepath | path |
string | $newfilename | name |
Definition at line 57 of file zipdownloader.php.
References $result.
XoopsZipDownloader::addFileData | ( | & | $data, |
$filename, | |||
$time = 0 |
|||
) |
Add File Data
string | &$data | data |
string | $filename | name |
int | $time | time |
Definition at line 102 of file zipdownloader.php.
References $result.
Referenced by addBinaryFileData().
XoopsZipDownloader::download | ( | $name, | |
$gzip = true |
|||
) |
Fownload Data as a Zip file
string | $name | zip name |
bool | $gzip | unused |
Definition at line 131 of file zipdownloader.php.
References $name, $result, and XoopsDownloader\_header().