PHP Class Zfplanet_Model_Service_TwitterNotifier, ZFPlanet

Mostrar archivo Open project: padraic/ZFPlanet

Protected Properties

Property Type Description
$_bclient
$_enabled
$_encoding
$_tclient

Public Methods

Method Description
__construct ( array $config, Zend_Cache_Core $cache ) Constructor
isEnabled ( )
notify ( Zfplanet_Model_Entry $entry )

Protected Methods

Method Description
_shortenLink ( $uri )

Method Details

__construct() public method

The config array requires two keys, "twitter" and (optionally) "bitly", each containing the necessary values as shown below.
public __construct ( array $config, Zend_Cache_Core $cache )
$config array
$cache Zend_Cache_Core

isEnabled() public method

public isEnabled ( )

notify() public method

public notify ( Zfplanet_Model_Entry $entry )
$entry Zfplanet_Model_Entry

Property Details

$_bclient protected_oe property

protected $_bclient

$_enabled protected_oe property

protected $_enabled

$_encoding protected_oe property

protected $_encoding

$_tclient protected_oe property

protected $_tclient