class ContactForm

Entity ContactForm (not linked to a DB)

Properties

protected string $email Stores the email address provided in ContactForm
protected string $name Stores the name provided in ContactForm
protected string $message Stores the message provided in ContactForm
protected string $subject Stores the subject provided in ContactForm
protected string $ip Stores the ip address used to submit ContactForm
protected bool $receiveCopy If user wants to receive a copy of the email sent by ContactForm

Methods

setEmail(string|null $email)

Set email

string|null
getEmail()

Get email

setName(string|null $name)

Set name

string|null
getName()

Get name

setMessage(string|null $message)

Set message

string|null
getMessage()

Get message

setSubject(string|null $subject)

Set subject

string|null
getSubject()

Get subject

setIp(string|null $ip)

Set ip

string|null
getIp()

Get ip

setReceiveCopy(bool $receiveCopy)

Set receiveCopy

bool
getReceiveCopy()

Get receiveCopy

Details

at line 91
ContactForm setEmail(string|null $email)

Set email

Parameters

string|null $email

Return Value

ContactForm

at line 102
string|null getEmail()

Get email

Return Value

string|null

at line 112
ContactForm setName(string|null $name)

Set name

Parameters

string|null $name

Return Value

ContactForm

at line 123
string|null getName()

Get name

Return Value

string|null

at line 133
ContactForm setMessage(string|null $message)

Set message

Parameters

string|null $message

Return Value

ContactForm

at line 144
string|null getMessage()

Get message

Return Value

string|null

at line 154
ContactForm setSubject(string|null $subject)

Set subject

Parameters

string|null $subject

Return Value

ContactForm

at line 165
string|null getSubject()

Get subject

Return Value

string|null

at line 175
ContactForm setIp(string|null $ip)

Set ip

Parameters

string|null $ip

Return Value

ContactForm

at line 186
string|null getIp()

Get ip

Return Value

string|null

at line 196
ContactForm setReceiveCopy(bool $receiveCopy)

Set receiveCopy

Parameters

bool $receiveCopy

Return Value

ContactForm

at line 205
bool getReceiveCopy()

Get receiveCopy

Return Value

bool