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 = nullnullDetails
\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface $_storage = nullnullDetailsMethods

__construct( $config = null) : voidConstructor; 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) : voidRetrieve a Header value from either $_SERVER or Apache
| Name | Type | Description |
|---|---|---|
| $header | string |

_getRawBody() : string | falseReturn 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_HttpAn 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_SubscriptionInterfaceGets 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() : intGets the number of Subscribers for which any updates are on behalf of.
| Type | Description |
|---|---|
| int |

sendResponse() : voidSend the response, including all headers.

setConfig( $config) : \Zend_Feed_Pubsubhubbub_CallbackAbstractProcess 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_CallbackAbstractAn 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_CallbackAbstractSets 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_CallbackAbstractSets the number of Subscribers for which any updates are on behalf of.
| Name | Type | Description |
|---|---|---|
| $count | string | int |
| Type | Description |
|---|---|
| \Zend_Feed_Pubsubhubbub_CallbackAbstract |