Legend of the Green Dragon

Mail
in package

Structure of table "mail" in data base.

This table stores emails between users.

Tags
ORM\Table

(name="mail", indexes={ @ORM\Index(name="msgto", columns={"msgto"}), @ORM\Index(name="seen", columns={"seen"}) } )

ORM\Entity

(repositoryClass="Lotgd\Core\Repository\MailRepository")

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
ORM\Column

(name="body", type="text", length=65535, nullable=false)

$messageid

private int $messageid
Tags
ORM\Column

(name="messageid", type="integer", nullable=false, options={"unsigned": true})

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$msgfrom

private int $msgfrom = 0
Tags
ORM\Column

(name="msgfrom", type="integer", nullable=false, options={"unsigned": true})

$msgto

private int $msgto = 0
Tags
ORM\Column

(name="msgto", type="integer", nullable=false, options={"unsigned": true})

$originator

private int $originator = '0'
Tags
ORM\Column

(name="originator", type="integer", nullable=false, options={"unsigned": true})

$seen

private bool $seen = 0
Tags
ORM\Column

(type="boolean", nullable=false, options={"default": "0"})

$sent

private DateTime $sent = '0000-00-00 00:00:00'
Tags
ORM\Column

(name="sent", type="datetime", nullable=false, options={"default": "0000-00-00 00:00:00"})

$subject

private string $subject
Tags
ORM\Column

(name="subject", type="string", length=500, nullable=false)

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
Return values
self

Search results