extends |
XoopsDownloader |
---|
Abstract base class for forms
Methods | ||
---|---|---|
public
|
__construct(string $ext = '.zip', string $mimyType = 'application/x-zip'): XoopsZipDownloader
Constructor
|
# |
public
|
addFile(string $filepath, string $newfilename = null)
Add file
|
# |
public
|
addBinaryFile(string $filepath, string $newfilename = null)
Add Binary File
|
# |
public
|
addFileData(string &$data, string $filename, int|mixed $time = 0)
Add File Data
|
# |
public
|
addBinaryFileData(string &$data, string $filename, int|string $time = 0)
Add Binary File Data
|
# |
public
|
download(string $name, bool $gzip = true)
Fownload Data as a Zip file
|
# |
Methods inherited from XoopsDownloader |
---|
_header(), |
Properties inherited from XoopsDownloader |
---|
$mimetype, $ext, $archiver |