category | Zend |
---|---|
package | Zend_Feed_Pubsubhubbub |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
canSendHeaders(boolean $throw = false
) : boolean
boolean
Whether or not to throw an exception if headers have been sent; defaults to false
\Zend_Feed_Pubsubhubbub_Exception |
---|
boolean
getBody() : string
string
getHeader(string $name) : string | null
string
string
null
getHeaders() : array
array
getHttpResponseCode() : integer
integer
sendHeaders() : void
Sends any headers specified. If an \setHttpResponseCode() has been specified, it is sent with the first header.
sendResponse() : void
setBody(string $content) : \Zend_Feed_Pubsubhubbub_HttpResponse
string
\Zend_Feed_Pubsubhubbub_HttpResponse
setHeader(string $name, string $value, boolean $replace = false
) : \Zend_Feed_Pubsubhubbub_HttpResponse
If $replace is true, replaces any headers already defined with that $name.
string
string
boolean
\Zend_Feed_Pubsubhubbub_HttpResponse
setHttpResponseCode(integer $code) : \Zend_Feed_Pubsubhubbub_HttpResponse
integer
\Zend_Feed_Pubsubhubbub_Exception |
---|
\Zend_Feed_Pubsubhubbub_HttpResponse
_normalizeHeader(string $name) : string
string
string
$_body : string
''
$_headers : array
array()
$_httpResponseCode : integer
200