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

Public Member Functions

 _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 ()
 

Public Attributes

 $archiver
 
 $ext
 
 $mimetype
 

Detailed Description

Sends non HTML files through a http socket

Definition at line 26 of file downloader.php.

Member Function Documentation

XoopsDownloader::_header (   $filename)

Send the HTTP header

Parameters
string$filenameprivate

Definition at line 53 of file downloader.php.

References $_SERVER.

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

XoopsDownloader::addBinaryFile()

Parameters
string$filepath
string$newfilename

Definition at line 88 of file downloader.php.

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

XoopsDownloader::addBinaryFileData()

Parameters
mixed$data
string$filename
integer$time

Definition at line 112 of file downloader.php.

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

XoopsDownloader::addFile()

Parameters
string$filepath
string$newfilename

Definition at line 77 of file downloader.php.

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

XoopsDownloader::addFileData()

Parameters
mixed$data
string$filename
integer$time

Definition at line 100 of file downloader.php.

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

XoopsDownloader::download()

Parameters
string$name
boolean$gzip

Definition at line 123 of file downloader.php.

XoopsDownloader::XoopsDownloader ( )

*#@- Constructor

Definition at line 42 of file downloader.php.

Member Data Documentation

XoopsDownloader::$archiver

Definition at line 34 of file downloader.php.

XoopsDownloader::$ext

Definition at line 33 of file downloader.php.

XoopsDownloader::$mimetype

*#@+ file information

Definition at line 32 of file downloader.php.


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