Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_body = ''
The body of any response to the current callback request
array $_headers = 'array'
Array of headers. Each header is an array with keys 'name' and 'value'
int $_httpResponseCode = '200'
HTTP response code to use in headers
_normalizeHeader(
string $name
)
:
string
Normalizes a header name to X-Capitalized-Names
canSendHeaders(
boolean $throw
=
false
)
:
boolean
Can we send headers?
getBody(
)
:
string
Return the body content
getHeader(
string $name
)
:
string|null
Check if a specific Header is set and return its value
getHeaders(
)
:
array
Return array of headers; see {@link $_headers} for format
getHttpResponseCode(
)
:
int
Retrieve HTTP response code
sendHeaders(
)
:
void
Send all headers
Sends any headers specified. If an {@link setHttpResponseCode() HTTP response code} has been specified, it is sent with the first header.
sendResponse(
)
:
void
Send the response, including all headers
setBody(
string $content
)
:
Zend_Feed_Pubsubhubbub_HttpResponse
Set body content
setHeader(
string $name, string $value, boolean $replace
=
false
)
:
Zend_Feed_Pubsubhubbub_HttpResponse
Set a header
If $replace is true, replaces any headers already defined with that $name.
setHttpResponseCode(
int $code
)
:
Zend_Feed_Pubsubhubbub_HttpResponse
Set HTTP response code to use with headers