Zend_Controller_Response_Abstract
Base class for Zend_Controller responses
Located in /Zend/Controller/Response/Abstract.php (line 32)
Class | Description |
---|---|
![]() |
Zend_Controller_Response_Cli |
![]() |
Zend_Controller_Response_Http |
Body content
Exception stack
Array of headers. Each header is an array with keys 'name' and 'value'
Array of raw headers. Each header is a single string, the entire header to emit
HTTP response code to use in headers
Whether or not to render exceptions; off by default
Append content to the body content
Clear all headers, normal and raw
Clear all setRawHeader()
Return the body content
Retrieve the exception stack
Return array of headers; see $_headers for format
Retrieve HTTP response code
Retrieve all setRawHeader()
Has an exception been registered with the response?
Echo the body segments
Whether or not to render exceptions (off by default)
If called with no arguments or a null argument, returns the value of the flag; otherwise, sets it and returns the current value.
Send all headers
Sends any headers specified. If an HTTP response code has been specified, it is sent with the first header.
Send the response, including all headers, rendering exceptions if so requested.
Set body content
If body content already defined, this will replace it.
Register an exception with the response
Set a header
If $replace is true, replaces any headers already defined with that $name.
Set HTTP response code to use with headers
Set raw HTTP header
Allows setting non key => value headers, such as status codes
Set redirect URL
Sets Location header and response code. Forces replacement of any prior redirects.
Magic __toString functionality
Proxies to sendResponse() and returns response value as string using output buffering.
Documentation generated on Thu, 18 Jan 2007 09:52:01 -0800 by phpDocumentor 1.3.1