PHP Class Zfplanet_Model_SubscriptionTable, ZFPlanet

Inheritance: extends Doctrine_Table, implements Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
Show file Open project: padraic/ZFPlanet

Public Methods

Method Description
deleteSubscription ( string $key ) : boolean Delete a subscription
getSubscription ( string $key ) : array Get subscription by ID/key
hasSubscription ( string $key ) : boolean Determine if a subscription matching the key exists
setSubscription ( array $data ) : boolean Save subscription to RDMBS

Method Details

deleteSubscription() public method

Delete a subscription
public deleteSubscription ( string $key ) : boolean
$key string
return boolean

getSubscription() public method

Get subscription by ID/key
public getSubscription ( string $key ) : array
$key string
return array

hasSubscription() public method

Determine if a subscription matching the key exists
public hasSubscription ( string $key ) : boolean
$key string
return boolean

setSubscription() public method

Save subscription to RDMBS
public setSubscription ( array $data ) : boolean
$data array
return boolean