extends |
XoopsDownloader |
|---|
Class XoopsTarDownloader
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
__construct(string $ext = '.tar.gz', string $mimyType = 'application/x-gzip')
Constructor
Constructor Parameters
Overrides |
# | ||||
public
|
addFile(string $filepath, string $newfilename = null)
Add a file to the archive
Add a file to the archive Parameters
Overrides |
# | ||||
public
|
addBinaryFile(string $filepath, string $newfilename = null)
Add a binary file to the archive
Add a binary file to the archive Parameters
Overrides |
# | ||||
public
|
addFileData(string &$data, string $filename, integer $time = 0)
Add a dummy file to the archive
Add a dummy file to the archive Parameters
Overrides |
# | ||||
public
|
addBinaryFileData(string &$data, string $filename, integer $time = 0)
Add a binary dummy file to the archive
Add a binary dummy file to the archive Parameters
Overrides |
# | ||||
public
|
download(string $name, boolean $gzip = true)
Send the file to the client
Send the file to the client Parameters
Overrides |
# | ||||
| Methods inherited from XoopsDownloader |
|---|
_header(), |
| Properties inherited from XoopsDownloader |
|---|
$mimetype, $ext, $archiver |