API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsDownloader Class Reference
Inheritance diagram for XoopsDownloader:

Public Member Functions

 __construct ()
 
 _header ($filename)
 
 addFile ($filepath, $newfilename=null)
 
 addBinaryFile ($filepath, $newfilename=null)
 
 addFileData (&$data, $filename, $time=0)
 
 addBinaryFileData (&$data, $filename, $time=0)
 
 download ($name, $gzip=true)
 

Data Fields

 $mimetype
 
 $ext
 
 $archiver
 

Detailed Description

Sends non HTML files through a http socket

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

*#- Constructor

Member Function Documentation

◆ _header()

_header (   $filename)

Send the HTTP header

Parameters
string$filename@access private
Here is the caller graph for this function:

◆ addBinaryFile()

addBinaryFile (   $filepath,
  $newfilename = null 
)

XoopsDownloader::addBinaryFile()

Parameters
string$filepath
string$newfilename

Reimplemented in XoopsTarDownloader, and XoopsZipDownloader.

◆ addBinaryFileData()

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

XoopsDownloader::addBinaryFileData()

Parameters
mixed$data
string$filename
integer$time

Reimplemented in XoopsTarDownloader, and XoopsZipDownloader.

◆ addFile()

addFile (   $filepath,
  $newfilename = null 
)

XoopsDownloader::addFile()

Parameters
string$filepath
string$newfilename

Reimplemented in XoopsTarDownloader, and XoopsZipDownloader.

◆ addFileData()

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

XoopsDownloader::addFileData()

Parameters
mixed$data
string$filename
integer$time

Reimplemented in XoopsTarDownloader, and XoopsZipDownloader.

◆ download()

download (   $name,
  $gzip = true 
)

XoopsDownloader::download()

Parameters
string$name
boolean$gzip

Reimplemented in XoopsTarDownloader, and XoopsZipDownloader.

Field Documentation

◆ $archiver

$archiver

◆ $ext

$ext

◆ $mimetype

$mimetype

*#+ file information


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