1487. Function

1487.1. Zend\Feed\PubSubHubbub\handle

ZendFeedPubSubHubbubhandle()

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:
  • array – GET/POST data if available and not in $_GET/POST
  • bool – Whether to send response now or when asked

1488. Function

1488.1. Zend\Feed\PubSubHubbub\sendResponse

ZendFeedPubSubHubbubsendResponse()

Send the response, including all headers. 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!

Return type:void

1489. Function

1489.1. Zend\Feed\PubSubHubbub\setHttpResponse

ZendFeedPubSubHubbubsetHttpResponse()

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.

Parameters:HttpResponse|ZendHttpPhpEnvironmentResponse

1490. Function

1490.1. Zend\Feed\PubSubHubbub\getHttpResponse

ZendFeedPubSubHubbubgetHttpResponse()

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.

Return type:HttpResponse|ZendHttpPhpEnvironmentResponse