category | Zend |
---|---|
package | Zend_Feed_Pubsubhubbub |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Feed_Pubsubhubbub_CallbackAbstract |
__construct(array|\Zend_Config|null $config = null
)
array
\Zend_Config
null
Options array or Zend_Config instance
getFeedUpdate() : string
string
getHttpResponse() : \Zend_Feed_Pubsubhubbub_HttpResponse | \Zend_Controller_Response_Http
inherited_from | \Zend_Feed_Pubsubhubbub_CallbackInterface::getHttpResponse() |
---|
\Zend_Feed_Pubsubhubbub_HttpResponse
\Zend_Controller_Response_Http
getStorage() : \Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
\Zend_Feed_Pubsubhubbub_Exception |
---|
\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
getSubscriberCount() : integer
In other words, is this class serving one or more subscribers? How many?
integer
handle(array $httpGetData= null
, boolean $sendResponseNow= false
) : void
array
GET data if available and not in $_GET
boolean
Whether to send response now or when asked
hasFeedUpdate() : boolean
boolean
isValidHubVerification(array $httpGetData) : boolean
array
boolean
sendResponse() : void
If you wish to handle this via Zend_Controller, use the getter methods to retrieve any data needed to be set on your HTTP Response object, or simply give this object the HTTP Response instance to work with for you!
inherited_from | \Zend_Feed_Pubsubhubbub_CallbackInterface::sendResponse() |
---|
setConfig(array|\Zend_Config $config) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
array
\Zend_Config
Options array or Zend_Config instance
\Zend_Feed_Pubsubhubbub_Exception |
---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract
setFeedUpdate(string $feed) : \Zend_Feed_Pubsubhubbub_Subscriber_Callback
string
\Zend_Feed_Pubsubhubbub_Subscriber_Callback
setHttpResponse(\Zend_Feed_Pubsubhubbub_HttpResponse|\Zend_Controller_Response_Http $httpResponse) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
inherited_from | \Zend_Feed_Pubsubhubbub_CallbackInterface::setHttpResponse() |
---|
\Zend_Feed_Pubsubhubbub_HttpResponse
\Zend_Controller_Response_Http
\Zend_Feed_Pubsubhubbub_Exception |
---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract
setStorage(\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface $storage) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
\Zend_Feed_Pubsubhubbub_CallbackAbstract
setSubscriberCount(string|integer $count) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
In other words, is this class serving one or more subscribers? How many? Defaults to 1 if left unchanged.
string
integer
\Zend_Feed_Pubsubhubbub_Exception |
---|
\Zend_Feed_Pubsubhubbub_CallbackAbstract
setSubscriptionKey(string $key) : \Zend_Feed_Pubsubhubbub_Subscriber_Callback
Required if usePathParameter is enabled for the Subscriber.
string
\Zend_Feed_Pubsubhubbub_Subscriber_Callback
_detectCallbackUrl()
_detectVerifyTokenKey(null|array $httpGetData = null
) : false | string
null
array
false
string
_getHeader(string $header) : boolean
string
boolean
_getHttpHost() : string
string
_getRawBody() : string | false
string
false
Raw body, or false if not present_hasValidVerifyToken(array $httpGetData= null
, boolean $checkValue= true
) : boolean
array
boolean
boolean
_parseQueryString() : array | void
This bypasses $_GET which munges parameter names and cannot accept multiple parameters with the same key.
array
void
$_currentSubscriptionData : array
null
$_feedUpdate : string
null
$_httpResponse : \Zend_Feed_Pubsubhubbub_HttpResponse | \Zend_Controller_Response_Http
null
$_storage : \Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
null
$_subscriberCount : integer
1
$_subscriptionKey : string
null
using a route and the Zend_Controller_Action::_getParam() method.