Feed/Pubsubhubbub/Model/Subscription.php

Show: inherited
Table of Contents

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 [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Feed_Pubsubhubbub  
Subpackage
Entity  
Version
$Id: Subscription.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Feed_Pubsubhubbub_Model_Subscription

Package: Zend\Feed\Pubsubhubbub\Entity

Implements
\Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
Parent(s)
\Zend_Feed_Pubsubhubbub_Model_ModelAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\Zend_Db_Table $_db = null
inherited

Zend_Db_Table instance to host database methods

Inherited from: \Zend_Feed_Pubsubhubbub_Model_ModelAbstract::$$_db
Default valuenullDetails
Type
\Zend_Db_Table
Inherited_from
\Zend_Feed_Pubsubhubbub_Model_ModelAbstract::$$_db  

Methods

methodpublic__construct(\Zend_Db_Table_Abstract $tableGateway = null) : void
inherited

Constructor

Inherited from: \Zend_Feed_Pubsubhubbub_Model_ModelAbstract::__construct()
Parameters
Name Type Description
$tableGateway \Zend_Db_Table_Abstract
methodpublicdeleteSubscription(string $key) : bool

Delete a subscription

Parameters
Name Type Description
$key string
Returns
Type Description
bool
methodpublicgetSubscription(string $key) : array

Get subscription by ID/key

Parameters
Name Type Description
$key string
Returns
Type Description
array
methodpublichasSubscription(string $key) : bool

Determine if a subscription matching the key exists

Parameters
Name Type Description
$key string
Returns
Type Description
bool
methodpublicsetSubscription(array $data) : bool

Save subscription to RDMBS

Parameters
Name Type Description
$data array
Returns
Type Description
bool
Documentation was generated by phpDocumentor 2.0.0a8.