Mail
in package
Structure of table "mail" in data base.
This table stores emails between users.
Tags
Table of Contents
- $body : string
- $messageid : int
- $msgfrom : int
- $msgto : int
- $originator : int
- $seen : bool
- $sent : DateTime
- $subject : string
- getBody() : string
- Get the value of Body.
- getMessageid() : int
- Get the value of Messageid.
- getMsgfrom() : int
- Get the value of Msgfrom.
- getMsgto() : int
- Get the value of Msgto.
- getOriginator() : int
- Get the value of Originator.
- getSeen() : bool
- Get the value of Seen.
- getSent() : DateTime|DateTimeImmutable
- Get the value of Sent.
- getSubject() : string
- Get the value of Subject.
- setBody() : self
- Set the value of Body.
- setMessageid() : self
- Set the value of Messageid.
- setMsgfrom() : self
- Set the value of Msgfrom.
- setMsgto() : self
- Set the value of Msgto.
- setOriginator() : self
- Set the value of Originator.
- setSeen() : self
- Set the value of Seen.
- setSent() : self
- Set the value of Sent.
- setSubject() : self
- Set the value of Subject.
Properties
$body
private
string
$body
Tags
$messageid
private
int
$messageid
Tags
$msgfrom
private
int
$msgfrom
= 0
Tags
$msgto
private
int
$msgto
= 0
Tags
$originator
private
int
$originator
= '0'
Tags
$seen
private
bool
$seen
= 0
Tags
$sent
private
DateTime
$sent
= '0000-00-00 00:00:00'
Tags
$subject
private
string
$subject
Tags
Methods
getBody()
Get the value of Body.
public
getBody() : string
Return values
string —getMessageid()
Get the value of Messageid.
public
getMessageid() : int
Return values
int —getMsgfrom()
Get the value of Msgfrom.
public
getMsgfrom() : int
Return values
int —getMsgto()
Get the value of Msgto.
public
getMsgto() : int
Return values
int —getOriginator()
Get the value of Originator.
public
getOriginator() : int
Return values
int —getSeen()
Get the value of Seen.
public
getSeen() : bool
Return values
bool —getSent()
Get the value of Sent.
public
getSent() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getSubject()
Get the value of Subject.
public
getSubject() : string
Return values
string —setBody()
Set the value of Body.
public
setBody(string $body) : self
Parameters
- $body : string
Return values
self —setMessageid()
Set the value of Messageid.
public
setMessageid(int $messageid) : self
Parameters
- $messageid : int
Return values
self —setMsgfrom()
Set the value of Msgfrom.
public
setMsgfrom(int $msgfrom) : self
Parameters
- $msgfrom : int
Return values
self —setMsgto()
Set the value of Msgto.
public
setMsgto(int $msgto) : self
Parameters
- $msgto : int
Return values
self —setOriginator()
Set the value of Originator.
public
setOriginator(int $originator) : self
Parameters
- $originator : int
Return values
self —setSeen()
Set the value of Seen.
public
setSeen(bool $seen) : self
Parameters
- $seen : bool
Return values
self —setSent()
Set the value of Sent.
public
setSent(DateTime|DateTimeImmutable $sent) : self
Parameters
- $sent : DateTime|DateTimeImmutable
Return values
self —setSubject()
Set the value of Subject.
public
setSubject(string $subject) : self
Parameters
- $subject : string