Beta version

class NewsletterSubscriber extends AbstractEntity

Describes a simple ManyToMany relation between Newsletter and Subscriber

Constants

QUEUED

SENT

OPENED

Methods

int
getId()

Get entity unique identifier.

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

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 58
Newsletter getNewsletter()

Return Value

Newsletter

at line 63
setNewsletter($ns)

Parameters

$ns

at line 78
Subscriber getSubscriber()

Return Value

Subscriber

at line 83
setSubscriber($sub)

Parameters

$sub

at line 96
integer getStatus()

Return Value

integer

at line 106
integer setStatus(integer $status)

Parameters

integer $status

Return Value

integer

at line 119
__construct(Newsletter $newsletter, Subscriber $subscriber)

Create a new relation between Newsletter, a Subscriber.

Parameters

Newsletter $newsletter
Subscriber $subscriber

at line 125
__clone()