class Newsletter extends AbstractDateTimed (View source)

Newsletters entities wrap a Node and are linked to Subscribers in order to render a HTML Email and send it over MailTransportAgent.

Constants

DRAFT

PENDING

SENDING

SENT

Methods

integer
getStatus()

No description

$this
setStatus(integer $status)

No description

isDraft()

No description

isPending()

No description

isSending()

No description

isSent()

No description

getNode()

No description

$this
setNode(Node $node)

No description

setNewsletterSubscriber(NewsletterSubscriber $newsletterSubscriber)

No description

__construct($node)

No description

__clone()

No description

Details

integer getStatus()

Return Value

integer

$this setStatus(integer $status)

Parameters

integer $status

Return Value

$this

isDraft()

isPending()

isSending()

isSent()

Node getNode()

Return Value

Node

$this setNode(Node $node)

Parameters

Node $node

Return Value

$this

NewsletterSubscriber getNewsletterSubscriber()

Return Value

NewsletterSubscriber

NewsletterSubscriber setNewsletterSubscriber(NewsletterSubscriber $newsletterSubscriber)

Parameters

NewsletterSubscriber $newsletterSubscriber

Return Value

NewsletterSubscriber

__construct($node)

Parameters

$node

__clone()