category Zend
package Zend_Feed_Pubsubhubbub
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Simple mechanism to delete the entire singleton HTTP Client instance which forces an new instantiation for subsequent requests.

clearHttpClient() : void
Static

Simple utility function which imports any feed URL and determines the existence of Hub Server endpoints. This works best if directly given an instance of Zend_Feed_Reader_Atom|Rss to leverage off.

detectHubs(\Zend_Feed_Reader_FeedAbstract|\Zend_Feed_Abstract|string $source) : array
Static

Parameters

$source

\Zend_Feed_Reader_FeedAbstract\Zend_Feed_Abstractstring

Returns

array

Return the singleton instance of the HTTP Client. Note that the instance is reset and cleared of previous parameters GET/POST.

getHttpClient() : \Zend_Http_Client
Static

Headers are NOT reset but handled by this component if applicable.

Returns

\Zend_Http_Client

Allows the external environment to make Zend_Oauth use a specific Client instance.

setHttpClient(\Zend_Http_Client $httpClient) : void
Static

Parameters

$httpClient

\Zend_Http_Client

RFC 3986 safe url encoding method

urlencode(string $string) : string
Static

Parameters

$string

string

Returns

string

 Properties

 

Singleton instance if required of the HTTP client

$httpClient : \Zend_Http_Client

Default

null
Static

 Constants

 

SUBSCRIPTION_NOTVERIFIED

SUBSCRIPTION_NOTVERIFIED = 'not_verified' 
 

SUBSCRIPTION_TODELETE

SUBSCRIPTION_TODELETE = 'to_delete' 
 

Subscription States

SUBSCRIPTION_VERIFIED = 'verified' 
 

VERIFICATION_MODE_ASYNC

VERIFICATION_MODE_ASYNC = 'async' 
 

Verification Modes

VERIFICATION_MODE_SYNC = 'sync'