EasyDownload Class Reference

List of all members.

Public Member Functions

 EasyDownload ()
 setContentType ($strValue)
 _setContentLength ()
 setContentDisposition ($strValue)
 setContentTransferEncoding ($strValue)
 setPath ($strValue)
 setFileName ($strValue)
 setFileNameDown ($strValue)
 send ()

Public Attributes

 $ContentType
 $ContentLength
 $ContentDisposition
 $ContentTransferEncoding
 $Path
 $FileName
 $FileNameDown

Detailed Description

Object for Download of files [Object for Download of files]
Author:
Olavo Alexandrino - oalexandrino@yahoo.com.br
Since:
May/2004 Other properties can be added header. It makes!

Definition at line 8 of file EasyDownload.class.


Member Function Documentation

EasyDownload::EasyDownload (  ) 

Constructor public

Definition at line 22 of file EasyDownload.class.

EasyDownload::setContentType ( strValue  ) 

It configures value Header 'ContentType'

public

Definition at line 38 of file EasyDownload.class.

EasyDownload::_setContentLength (  ) 

It configures value Header 'ContentLength' with the size of the informed file

Returns:
void private

Definition at line 48 of file EasyDownload.class.

Referenced by send().

Here is the caller graph for this function:

EasyDownload::setContentDisposition ( strValue  ) 

It configures value Header 'ContentDisposition' public

Definition at line 57 of file EasyDownload.class.

EasyDownload::setContentTransferEncoding ( strValue  ) 

It configures value Header 'ContentTransferEncoding' public

Definition at line 66 of file EasyDownload.class.

EasyDownload::setPath ( strValue  ) 

It configures the physical place where the file if finds in the server public

Prevents unwanted access ../*

Definition at line 75 of file EasyDownload.class.

EasyDownload::setFileName ( strValue  ) 

It configures the real name of the archive in the server public

Prevents unwanted access ../*

Definition at line 94 of file EasyDownload.class.

EasyDownload::setFileNameDown ( strValue  ) 

It configures the personalized name of the file (therefore it can be different of the located real name in the server) public

Definition at line 114 of file EasyDownload.class.

EasyDownload::send (  ) 

Init Download public

Definition at line 123 of file EasyDownload.class.

References _setContentLength().

Here is the call graph for this function:


Member Data Documentation

EasyDownload::$ContentType

Definition at line 10 of file EasyDownload.class.

EasyDownload::$ContentLength

Definition at line 11 of file EasyDownload.class.

EasyDownload::$ContentDisposition

Definition at line 12 of file EasyDownload.class.

EasyDownload::$ContentTransferEncoding

Definition at line 13 of file EasyDownload.class.

EasyDownload::$Path

Definition at line 14 of file EasyDownload.class.

EasyDownload::$FileName

Definition at line 15 of file EasyDownload.class.

EasyDownload::$FileNameDown

Definition at line 16 of file EasyDownload.class.


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil