Class Zend_Controller_Response_Http

Description

Zend_Controller_Response_Http

HTTP response for controllers

Located in /Zend/Controller/Response/Http.php (line 35)

Zend_Controller_Response_Abstract
   |
   --Zend_Controller_Response_Http
Variable Summary
array $_headers
Method Summary
self clearHeaders ()
array getHeaders ()
self setHeader (string $name, string $value, [boolean $replace = false])
string __toString ()
Variables
array $_headers = array() (line 41)

Array of headers. Each header is an array with keys 'name' and 'value'

  • access: protected

Inherited Variables

Inherited from Zend_Controller_Response_Abstract

Zend_Controller_Response_Abstract::$_body
Zend_Controller_Response_Abstract::$_exception
Zend_Controller_Response_Abstract::$_renderExceptions
Methods
clearHeaders (line 90)

Clear headers

  • access: public
self clearHeaders ()
getHeaders (line 80)

Return array of headers; see $_headers for format

  • access: public
array getHeaders ()
setHeader (line 54)

Set a header

If $replace is true, replaces any headers already defined with that $name.

  • access: public
self setHeader (string $name, string $value, [boolean $replace = false])
  • string $name
  • string $value
  • boolean $replace
__toString (line 104)

Magic __toString functionality

Sends all headers prior to returning the string

  • access: public
string __toString ()

Redefinition of:
Zend_Controller_Response_Abstract::__toString()
Magic __toString functionality

Inherited Methods

Inherited From Zend_Controller_Response_Abstract

Zend_Controller_Response_Abstract::appendBody()
Zend_Controller_Response_Abstract::getBody()
Zend_Controller_Response_Abstract::getException()
Zend_Controller_Response_Abstract::isException()
Zend_Controller_Response_Abstract::renderExceptions()
Zend_Controller_Response_Abstract::setBody()
Zend_Controller_Response_Abstract::setException()
Zend_Controller_Response_Abstract::__toString()

Documentation generated on Sun, 29 Oct 2006 21:27:57 -0600 by phpDocumentor 1.3.0RC6