XOOPS  2.6.0
XoopsDownloader Class Reference
Inheritance diagram for XoopsDownloader:
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)
 

Protected Member Functions

 _header ($filename)
 

Protected Attributes

 $archiver
 
 $ext
 
 $mimetype
 

Detailed Description

Definition at line 28 of file downloader.php.

Member Function Documentation

XoopsDownloader::_header (   $filename)
protected

Send the HTTP header

Parameters
string$filenameprotected

Definition at line 53 of file downloader.php.

References $_SERVER.

Referenced by XoopsZipDownloader\download(), and XoopsTarDownloader\download().

Here is the caller graph for this function:

XoopsDownloader::addBinaryFile (   $filepath,
  $newfilename = null 
)
abstract
Parameters
$filepath
null$newfilename
Returns
void
XoopsDownloader::addBinaryFileData ( $data,
  $filename,
  $time = 0 
)
abstract
Parameters
$data
$filename
int$time
Returns
void
XoopsDownloader::addFile (   $filepath,
  $newfilename = null 
)
abstract
Parameters
$filepath
boolean | string$newfilename
Returns
void
XoopsDownloader::addFileData ( $data,
  $filename,
  $time = 0 
)
abstract
Parameters
$data
$filename
int$time
Returns
void
XoopsDownloader::download (   $name,
  $gzip = true 
)
abstract
Parameters
$name
bool$gzip
Returns
void

Member Data Documentation

XoopsDownloader::$archiver
protected

Definition at line 44 of file downloader.php.

XoopsDownloader::$ext
protected
XoopsDownloader::$mimetype
protected

Definition at line 34 of file downloader.php.


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