PHP Class Newscoop\Subscription\SubscriptionRepository

Inheritance: extends Doctrine\ORM\EntityRepository
Datei anzeigen Open project: sourcefabric/newscoop

Public Methods

Method Description
addSections ( Subscription $subscription, array $values ) : void Add section to subscription
delete ( Subscription $subscription ) : void Delete subscription
findByUser ( User | integer $user ) : array Find by user
save ( Subscription $subscription, Subscriber $subscriber, array $values ) : void Save subscription

Method Details

addSections() public method

Add section to subscription
public addSections ( Subscription $subscription, array $values ) : void
$subscription Subscription
$values array
return void

delete() public method

Delete subscription
public delete ( Subscription $subscription ) : void
$subscription Subscription
return void

findByUser() public method

Find by user
public findByUser ( User | integer $user ) : array
$user Newscoop\Entity\User | integer
return array

save() public method

Save subscription
public save ( Subscription $subscription, Subscriber $subscriber, array $values ) : void
$subscription Subscription
$subscriber Subscriber
$values array
return void