XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsZipDownloader Class Reference
Inheritance diagram for XoopsZipDownloader:
Inheritance graph

Public Member Functions

 addBinaryFile ($filepath, $newfilename=null)
 
 addBinaryFileData (&$data, $filename, $time=0)
 
 addFile ($filepath, $newfilename=null)
 
 addFileData (&$data, $filename, $time=0)
 
 download ($name, $gzip=true)
 
 XoopsZipDownloader ($ext= '.zip', $mimyType= 'application/x-zip')
 
- Public Member Functions inherited from XoopsDownloader
 _header ($filename)
 
 addBinaryFile ($filepath, $newfilename=null)
 
 addBinaryFileData (&$data, $filename, $time=0)
 
 addFile ($filepath, $newfilename=null)
 
 addFileData (&$data, $filename, $time=0)
 
 download ($name, $gzip=true)
 
 XoopsDownloader ()
 

Additional Inherited Members

- Public Attributes inherited from XoopsDownloader
 $archiver
 
 $ext
 
 $mimetype
 

Detailed Description

Definition at line 35 of file zipdownloader.php.

Member Function Documentation

XoopsZipDownloader::addBinaryFile (   $filepath,
  $newfilename = null 
)

Add Binary File

Parameters
string$filepath
string$newfilename

Definition at line 73 of file zipdownloader.php.

XoopsZipDownloader::addBinaryFileData ( $data,
  $filename,
  $time = 0 
)

Add Binary File Data

Parameters
string$data
string$filename
string$time

Definition at line 102 of file zipdownloader.php.

References $time.

XoopsZipDownloader::addFile (   $filepath,
  $newfilename = null 
)

Add file

Parameters
string$filepath
string$newfilename

Definition at line 57 of file zipdownloader.php.

XoopsZipDownloader::addFileData ( $data,
  $filename,
  $time = 0 
)

Add File Data

Parameters
string$data
string$filename
unknown_type$time

Definition at line 90 of file zipdownloader.php.

References $time.

XoopsZipDownloader::download (   $name,
  $gzip = true 
)

Fownload Data as a Zip file

Parameters
string$name
bool$gzip

Definition at line 113 of file zipdownloader.php.

XoopsZipDownloader::XoopsZipDownloader (   $ext = '.zip',
  $mimyType = 'application/x-zip' 
)

Constructor

Parameters
string$ext
string$mimyType
Returns
XoopsZipDownloader

Definition at line 45 of file zipdownloader.php.

References $ext.


The documentation for this class was generated from the following file: