XOOPS
2.6.0
|
Public Member Functions | |
__construct ($ext= '.tar.gz', $mimyType= 'application/x-gzip') | |
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 23 of file tardownloader.php.
XoopsTarDownloader::__construct | ( | $ext = '.tar.gz' , |
|
$mimyType = 'application/x-gzip' |
|||
) |
Constructor
string | $ext | file extension |
string | $mimyType | Mimetype |
Definition at line 31 of file tardownloader.php.
References XoopsDownloader\$ext.
XoopsTarDownloader::addBinaryFile | ( | $filepath, | |
$newfilename = null |
|||
) |
Add a binary file to the archive
string | $filepath | Full path to the file |
string | $newfilename | Filename (if you don't want to use the original) |
Definition at line 71 of file tardownloader.php.
XoopsTarDownloader::addBinaryFileData | ( | & | $data, |
$filename, | |||
$time = 0 |
|||
) |
Add a binary dummy file to the archive
string | &$data | Data to write |
string | $filename | Name for the file in the archive |
integer | $time | time |
Definition at line 132 of file tardownloader.php.
References $i, $result, and XoopsBaseConfig\get().
XoopsTarDownloader::addFile | ( | $filepath, | |
$newfilename = null |
|||
) |
Add a file to the archive
string | $filepath | Full path to the file |
string | $newfilename | Filename (if you don't want to use the original) |
Definition at line 46 of file tardownloader.php.
XoopsTarDownloader::addFileData | ( | & | $data, |
$filename, | |||
$time = 0 |
|||
) |
Add a dummy file to the archive
string | &$data | Data to write |
string | $filename | Name for the file in the archive |
integer | $time | time |
Definition at line 97 of file tardownloader.php.
References $i, $result, and XoopsBaseConfig\get().
XoopsTarDownloader::download | ( | $name, | |
$gzip = true |
|||
) |
Send the file to the client
string | $name | Filename |
boolean | $gzip | Use GZ compression |
Definition at line 166 of file tardownloader.php.
References $name, and XoopsDownloader\_header().