Class jResponseZip

Description

generate a zip content and send it to the browser

Located in /core/response/jResponseZip.class.php (line 22)

jResponse
   |
   --jResponseZip
Variable Summary
Method Summary
jResponseZip __construct ()
boolean output ()
void outputErrors ()
Variables
jZipCreator $content = null (line 32)

the zip content. Manipulates it to add files into it

  • access: public
mixed $zipFilename = '' (line 37)

file name which appear in the browser

  • access: public
string $_type = 'zip' (line 26)
  • access: protected

Redefinition of:
jResponse::$_type
ident of the response type

Inherited Variables

Inherited from jResponse

jResponse::$_acceptSeveralErrors
jResponse::$_errorMessages
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
Methods
Constructor __construct (line 42)

constructor

jResponseZip __construct ()

Redefinition of:
jResponse::__construct()
constructor
output (line 51)

construct the zip content into zip format, and send it to the browser

  • return: true if it's ok
  • access: public
boolean output ()

Redefinition of:
jResponse::output()
Send the response in the correct format.
outputErrors (line 72)
  • access: public
void outputErrors ()

Redefinition of:
jResponse::outputErrors()
Send a response with only error messages which appears during the action

Inherited Methods

Inherited From jResponse

jResponse::__construct()
jResponse::acceptSeveralErrors()
jResponse::addHttpHeader()
jResponse::clearHttpHeaders()
jResponse::getFormatType()
jResponse::getType()
jResponse::hasErrors()
jResponse::output()
jResponse::outputErrors()
jResponse::sendHttpHeaders()
jResponse::setHttpStatus()

Documentation generated on Thu, 22 Mar 2012 22:17:02 +0100 by phpDocumentor 1.4.3