EmailLog
extends Model
in package
Table of Contents
- $dateCreated : DateTime
- $dateUpdated : DateTime
- $email_id : int
- $id : int
- $is_console : bool
- $subject : string
- $uid : string
- $user_id : int
- $_attachements : array<string|int, mixed>
- $_bcc : array<string|int, mixed>
- $_cc : array<string|int, mixed>
- $_from : array<string|int, mixed>
- $_replyTo : array<string|int, mixed>
- $_to : array<string|int, mixed>
- defineRules() : array<string|int, mixed>
- fields() : mixed
- getAttachements() : array<string|int, mixed>
- Attachements getter
- getAttachementsElements() : array<string|int, mixed>
- Get attachements as elements (assets)
- getBcc() : array<string|int, mixed>
- Bcc getter
- getBody() : string
- Body getter
- getCc() : array<string|int, mixed>
- Cc getter
- getEmail() : Email|null
- Email getter
- getFrom() : array<string|int, mixed>
- From getter
- getReplyTo() : array<string|int, mixed>
- Reply to getter
- getTextBody() : string
- Text body getter
- getTo() : array<string|int, mixed>
- To getter
- getUser() : User|null
- User getter
- setAttachements() : mixed
- Attachements setter
- setBcc() : mixed
- Bcc setter
- setCc() : mixed
- Cc setter
- setFrom() : mixed
- From setter
- setReplyTo() : mixed
- Reply to setter
- setTo() : mixed
- To setter
- toArray() : mixed
Properties
$dateCreated
public
DateTime
$dateCreated
$dateUpdated
public
DateTime
$dateUpdated
$email_id
public
int
$email_id
$id
public
int
$id
$is_console
public
bool
$is_console
$subject
public
string
$subject
$uid
public
string
$uid
$user_id
public
int
$user_id
$_attachements
protected
array<string|int, mixed>
$_attachements
$_bcc
protected
array<string|int, mixed>
$_bcc
$_cc
protected
array<string|int, mixed>
$_cc
$_from
protected
array<string|int, mixed>
$_from
$_replyTo
protected
array<string|int, mixed>
$_replyTo
$_to
protected
array<string|int, mixed>
$_to
Methods
defineRules()
public
defineRules() : array<string|int, mixed>
Return values
array<string|int, mixed> —fields()
public
fields() : mixed
Tags
Return values
mixed —getAttachements()
Attachements getter
public
getAttachements() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAttachementsElements()
Get attachements as elements (assets)
public
getAttachementsElements() : array<string|int, mixed>
Return values
array<string|int, mixed> —getBcc()
Bcc getter
public
getBcc() : array<string|int, mixed>
Return values
array<string|int, mixed> —getBody()
Body getter
public
getBody() : string
Return values
string —getCc()
Cc getter
public
getCc() : array<string|int, mixed>
Return values
array<string|int, mixed> —getEmail()
Email getter
public
getEmail() : Email|null
Return values
Email|null —getFrom()
From getter
public
getFrom() : array<string|int, mixed>
Return values
array<string|int, mixed> —getReplyTo()
Reply to getter
public
getReplyTo() : array<string|int, mixed>
Return values
array<string|int, mixed> —getTextBody()
Text body getter
public
getTextBody() : string
Return values
string —getTo()
To getter
public
getTo() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUser()
User getter
public
getUser() : User|null
Return values
User|null —setAttachements()
Attachements setter
public
setAttachements(array<string|int, mixed>|string $attachements) : mixed
Parameters
- $attachements : array<string|int, mixed>|string
Return values
mixed —setBcc()
Bcc setter
public
setBcc(array<string|int, mixed>|string $bcc) : mixed
Parameters
- $bcc : array<string|int, mixed>|string
Return values
mixed —setCc()
Cc setter
public
setCc(array<string|int, mixed>|string $cc) : mixed
Parameters
- $cc : array<string|int, mixed>|string
Return values
mixed —setFrom()
From setter
public
setFrom(array<string|int, mixed>|string $from) : mixed
Parameters
- $from : array<string|int, mixed>|string
Return values
mixed —setReplyTo()
Reply to setter
public
setReplyTo(array<string|int, mixed>|string $to) : mixed
Parameters
- $to : array<string|int, mixed>|string
Return values
mixed —setTo()
To setter
public
setTo(array<string|int, mixed>|string $to) : mixed
Parameters
- $to : array<string|int, mixed>|string
Return values
mixed —toArray()
public
toArray([array<string|int, mixed> $fields = [] ][, array<string|int, mixed> $expand = [] ][, mixed $recursive = true ]) : mixed
Parameters
- $fields : array<string|int, mixed> = []
- $expand : array<string|int, mixed> = []
- $recursive : mixed = true