Zend Framework  1.12
Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Zend_Feed_Pubsubhubbub Class Reference

Static Public Member Functions

static detectHubs ($source)
 Simple utility function which imports any feed URL and determines the existence of Hub Server endpoints.
 
static setHttpClient (Zend_Http_Client $httpClient)
 Allows the external environment to make Zend_Oauth use a specific Client instance.
 
static getHttpClient ()
 Return the singleton instance of the HTTP Client.
 
static clearHttpClient ()
 Simple mechanism to delete the entire singleton HTTP Client instance which forces an new instantiation for subsequent requests.
 
static urlencode ($string)
 RFC 3986 safe url encoding method.
 

Public Attributes

const VERIFICATION_MODE_SYNC = 'sync'
 Verification Modes.
 
const VERIFICATION_MODE_ASYNC = 'async'
 
const SUBSCRIPTION_VERIFIED = 'verified'
 Subscription States.
 
const SUBSCRIPTION_NOTVERIFIED = 'not_verified'
 
const SUBSCRIPTION_TODELETE = 'to_delete'
 

Static Protected Attributes

static $httpClient = null
 

Member Function Documentation

static clearHttpClient ( )
static

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

Returns
void
static detectHubs (   $source)
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.

Parameters
Zend_Feed_Reader_FeedAbstract | Zend_Feed_Abstract | string$source
Returns
array
static getHttpClient ( )
static

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.

Returns
Zend_Http_Client
static setHttpClient ( Zend_Http_Client  $httpClient)
static

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

Parameters
Zend_Http_Client$httpClient
Returns
void
static urlencode (   $string)
static

RFC 3986 safe url encoding method.

Parameters
string$string
Returns
string

Member Data Documentation

$httpClient = null
staticprotected
const SUBSCRIPTION_NOTVERIFIED = 'not_verified'
const SUBSCRIPTION_TODELETE = 'to_delete'
const SUBSCRIPTION_VERIFIED = 'verified'

Subscription States.

const VERIFICATION_MODE_ASYNC = 'async'
const VERIFICATION_MODE_SYNC = 'sync'

Verification Modes.