Feed/Pubsubhubbub/Subscriber/Callback.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Feed_Pubsubhubbub  
Version
$Id$  

\Zend_Feed_Pubsubhubbub_Subscriber_Callback

Package: Zend_Feed_Pubsubhubbub\Callback
Parent(s)
\Zend_Feed_Pubsubhubbub_CallbackAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Methods

methodpublicgetFeedUpdate() : string

Gets a newly received feed (Atom/RSS) sent by a Hub as an update to a Topic we've subscribed to.

Returns
TypeDescription
string
methodpublichandle(array $httpGetData = null, bool $sendResponseNow = false) : void

Handle any callback from a Hub Server responding to a subscription or unsubscription request. This should be the Hub Server confirming the the request prior to taking action on it.

Parameters
NameTypeDescription
$httpGetDataarray

GET data if available and not in $_GET

$sendResponseNowbool

Whether to send response now or when asked

methodpublichasFeedUpdate() : bool

Check if any newly received feed (Atom/RSS) update was received

Returns
TypeDescription
bool
methodpublicisValidHubVerification(array $httpGetData) : bool

Checks validity of the request simply by making a quick pass and confirming the presence of all REQUIRED parameters.

Parameters
NameTypeDescription
$httpGetDataarray
Returns
TypeDescription
bool
methodpublicsetFeedUpdate(string $feed) : \Zend_Feed_Pubsubhubbub_Subscriber_Callback

Sets a newly received feed (Atom/RSS) sent by a Hub as an update to a Topic we've subscribed to.

Parameters
NameTypeDescription
$feedstring
Returns
TypeDescription
\Zend_Feed_Pubsubhubbub_Subscriber_Callback
methodpublicsetSubscriptionKey(string $key) : \Zend_Feed_Pubsubhubbub_Subscriber_Callback

Set a subscription key to use for the current callback request manually.

Required if usePathParameter is enabled for the Subscriber.
Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
\Zend_Feed_Pubsubhubbub_Subscriber_Callback
Documentation was generated by phpDocumentor 2.2.0 .