Feed/Pubsubhubbub/CallbackAbstract.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed_Pubsubhubbub
- Subpackage
- Callback
- Version
- $Id$
\Zend_Feed_Pubsubhubbub_CallbackAbstract
- Implements
- Children
- \Zend_Feed_Pubsubhubbub_Subscriber_Callback
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


\Zend_Feed_Pubsubhubbub_HttpResponse|\Zend_Controller_Response_Http $_httpResponse = null
null
Details

\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface $_storage = null
null
DetailsMethods


__construct( $config = null) : void
Constructor; accepts an array or Zend_Config instance to preset options for the Subscriber without calling all supported setter methods in turn.
Name | Type | Description |
---|---|---|
$config |


_getHeader(string $header) : void
Retrieve a Header value from either $_SERVER or Apache
Name | Type | Description |
---|---|---|
$header | string |


_getRawBody() : string | false
Return the raw body of the request
Type | Description |
---|---|
string | false | Raw body, or false if not present |


getHttpResponse() : \Zend_Feed_Pubsubhubbub_HttpResponse | \Zend_Controller_Response_Http
An instance of a class handling Http Responses. This is implemented in Zend_Feed_Pubsubhubbub_HttpResponse which shares an unenforced interface with (i.e. not inherited from) Zend_Controller_Response_Http.
Type | Description |
---|---|
\Zend_Feed_Pubsubhubbub_HttpResponse | \Zend_Controller_Response_Http |


getStorage() : \Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
Gets an instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used to background save any verification tokens associated with a subscription or other.
Type | Description |
---|---|
\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface |


getSubscriberCount() : int
Gets the number of Subscribers for which any updates are on behalf of.
Type | Description |
---|---|
int |


sendResponse() : void
Send the response, including all headers.


setConfig( $config) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
Process any injected configuration options
Name | Type | Description |
---|---|---|
$config |
Type | Description |
---|---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract |


setHttpResponse(\Zend_Feed_Pubsubhubbub_HttpResponse | \Zend_Controller_Response_Http $httpResponse) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
An instance of a class handling Http Responses. This is implemented in Zend_Feed_Pubsubhubbub_HttpResponse which shares an unenforced interface with (i.e. not inherited from) Zend_Controller_Response_Http.
Name | Type | Description |
---|---|---|
$httpResponse | \Zend_Feed_Pubsubhubbub_HttpResponse | \Zend_Controller_Response_Http |
Type | Description |
---|---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract |


setStorage(\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface $storage) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
Sets an instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used to background save any verification tokens associated with a subscription or other.
Name | Type | Description |
---|---|---|
$storage | \Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface |
Type | Description |
---|---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract |


setSubscriberCount(string | int $count) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
Sets the number of Subscribers for which any updates are on behalf of.
Name | Type | Description |
---|---|---|
$count | string | int |
Type | Description |
---|---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract |