Documentation

MailingList
in package

Mailing List model (partial)

ReportDB does not know about mailman and doesn't need to know.

Tags
psalm-type

MailingListGdprArrayType = array{ name: string, description_en: string, description_nl: string, }

Attributes
#[Entity]

Table of Contents

Properties

$en_description  : string
English description of the mailing list.
$mailingListMemberships  : Collection<string|int, MailingListMember>
Mailing list members.
$name  : string
Name of the mailing list
$nl_description  : string
Dutch description of the mailing list.

Methods

__construct()  : mixed
getEnDescription()  : string
Get the english description.
getMailingListMemberships()  : Collection<string|int, MailingListMember>
Get subscribed members.
getName()  : string
Get the name.
getNlDescription()  : string
Get the dutch description.
setEnDescription()  : void
Set the english description.
setName()  : void
Set the name.
setNlDescription()  : void
Set the dutch description.
toGdprArray()  : MailingListGdprArrayType

Properties

$en_description

English description of the mailing list.

protected string $en_description
Attributes
#[Column]
$type: 'text'

$mailingListMemberships

Mailing list members.

protected Collection<string|int, MailingListMember> $mailingListMemberships
Attributes
#[OneToMany]
$targetEntity: \Decision\Model\MailingListMember::class
$mappedBy: 'mailingList'

$name

Name of the mailing list

protected string $name
Attributes
#[Column]
$type: 'string'
#[Id]

$nl_description

Dutch description of the mailing list.

protected string $nl_description
Attributes
#[Column]
$type: 'text'

Methods

getEnDescription()

Get the english description.

public getEnDescription() : string
Return values
string

getName()

Get the name.

public getName() : string
Return values
string

getNlDescription()

Get the dutch description.

public getNlDescription() : string
Return values
string

setEnDescription()

Set the english description.

public setEnDescription(string $description) : void
Parameters
$description : string

setName()

Set the name.

public setName(string $name) : void
Parameters
$name : string

setNlDescription()

Set the dutch description.

public setNlDescription(string $description) : void
Parameters
$description : string

toGdprArray()

public toGdprArray() : MailingListGdprArrayType
Return values
MailingListGdprArrayType

        
On this page

Search results