1492. Class

1492.1. Zend\Feed\PubSubHubbub\PubSubHubbub

1492.1.1. Methods

1492.1.1.1. detectHubs

detectHubs()

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.

Parameters:ZendFeedReaderFeedAbstractFeed|string
Return type:array
Throws :ExceptionInvalidArgumentException

1492.1.1.2. setHttpClient

setHttpClient()

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

Parameters:HttpClient
Return type:void

1492.1.1.3. getHttpClient

getHttpClient()

Return the singleton instance of the HTTP Client. Note that the instance is reset and cleared of previous parameters GET/POST. Headers are NOT reset but handled by this component if applicable.

Return type:HttpClient

1492.1.1.4. clearHttpClient

clearHttpClient()

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

Return type:void

1492.1.1.5. setEscaper

setEscaper()

Set the Escaper instance

If null, resets the instance

Parameters:null|Escaper

1492.1.1.6. getEscaper

getEscaper()

Get the Escaper instance

If none registered, lazy-loads an instance.

Return type:Escaper

1492.1.1.7. urlencode

urlencode()

RFC 3986 safe url encoding method

Parameters:string
Return type:string

1492.1.2. Constants

1492.1.2.1. VERIFICATION_MODE_SYNC

Verification Modes

1492.1.2.2. VERIFICATION_MODE_ASYNC

1492.1.2.3. SUBSCRIPTION_VERIFIED

Subscription States

1492.1.2.4. SUBSCRIPTION_NOTVERIFIED

1492.1.2.5. SUBSCRIPTION_TODELETE