class NewsletterSubscriber extends AbstractEntity (View source)

Describes a simple ManyToMany relation between Newsletter and Subscriber

Constants

QUEUED

SENT

OPENED

Properties

protected $id from AbstractEntity

Methods

int
getId()

No description

setId(int $id)

No description

getNewsletter()

No description

setNewsletter($ns)

No description

getSubscriber()

No description

setSubscriber($sub)

No description

integer
getStatus()

No description

integer
setStatus(integer $status)

No description

__construct(Newsletter $newsletter, Subscriber $subscriber)

Create a new relation between Newsletter, a Subscriber.

__clone()

No description

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

Newsletter getNewsletter()

Return Value

Newsletter

setNewsletter($ns)

Parameters

$ns

Subscriber getSubscriber()

Return Value

Subscriber

setSubscriber($sub)

Parameters

$sub

integer getStatus()

Return Value

integer

integer setStatus(integer $status)

Parameters

integer $status

Return Value

integer

__construct(Newsletter $newsletter, Subscriber $subscriber)

Create a new relation between Newsletter, a Subscriber.

Parameters

Newsletter $newsletter
Subscriber $subscriber

__clone()