API Documentation

Feed/Pubsubhubbub.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Feed_Pubsubhubbub
Classes
Zend_Feed_Pubsubhubbub

Description

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.

Zend_Feed_Pubsubhubbub

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Feed_Pubsubhubbub
Constants
VERIFICATION_MODE_SYNC
VERIFICATION_MODE_ASYNC
SUBSCRIPTION_VERIFIED
SUBSCRIPTION_NOTVERIFIED
SUBSCRIPTION_TODELETE
Properties
$httpClient
Methods
detectHubs
setHttpClient
getHttpClient
clearHttpClient
urlencode

Description

Constants

VERIFICATION_MODE_SYNC

 VERIFICATION_MODE_SYNC = 'sync'

Verification Modes

Details

value
sync

VERIFICATION_MODE_ASYNC

 VERIFICATION_MODE_ASYNC = 'async'

Details

value
async

SUBSCRIPTION_VERIFIED

 SUBSCRIPTION_VERIFIED = 'verified'

Subscription States

Details

value
verified

SUBSCRIPTION_NOTVERIFIED

 SUBSCRIPTION_NOTVERIFIED = 'not_verified'

Details

value
not_verified

SUBSCRIPTION_TODELETE

 SUBSCRIPTION_TODELETE = 'to_delete'

Details

value
to_delete

Properties

$httpClient

Zend_Http_Client $httpClient = 'null'

Singleton instance if required of the HTTP client

Details

$httpClient
Zend_Http_Client
visibility
protected
default
null
final
false
static
true

Methods

clearHttpClient

clearHttpClient( ) : void

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

Details
visibility
public
final
false
static
true

detectHubs

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

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.

Arguments
$source
Zend_Feed_Reader_FeedAbstractZend_Feed_Abstractstring
Output
array
Details
visibility
public
final
false
static
true

getHttpClient

getHttpClient( ) : Zend_Http_Client

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.

Details
visibility
public
final
false
static
true

setHttpClient

setHttpClient( Zend_Http_Client $httpClient ) : void

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

Arguments
$httpClient
Zend_Http_Client
Details
visibility
public
final
false
static
true

urlencode

urlencode( string $string ) : string

RFC 3986 safe url encoding method

Arguments
$string
string
Output
string
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.