EmailShot
extends Model
in package
Table of Contents
- $dateCreated : DateTime
- $dateUpdated : DateTime
- $email_id : int
- $handle : string
- $id : int
- $name : string
- $saveLogs : bool
- $sent : int
- $uid : string
- $useQueue : bool
- $variables : array<string|int, mixed>
- $_emails : array<string|int, mixed>
- $_sources : array<string|int, mixed>
- $_users : array<string|int, mixed>
- __serialize() : array<string|int, mixed>
- defineRules() : array<string|int, mixed>
- getAllEmails() : array<string|int, mixed>
- Get all emails this shot will be sent to
- getDescription() : string
- Get email shot description
- getEmail() : Email
- get email object
- getEmailCount() : int
- Get the amount of emails this shot will be sent to
- getEmails() : array<string|int, mixed>
- Emails getter
- getSourceObjects() : array<string|int, EmailSourceInterface>
- Get source objects
- getSources() : array<string|int, mixed>
- Sources getter
- getUserElements() : array<string|int, mixed>
- Get user elements from their ids
- getUsers() : array<string|int, mixed>
- Users getter
- setEmails() : mixed
- Emails setter
- setSources() : mixed
- Sources setter
- setUsers() : mixed
- Users setter
Properties
$dateCreated
public
DateTime
$dateCreated
$dateUpdated
public
DateTime
$dateUpdated
$email_id
public
int
$email_id
$handle
public
string
$handle
$id
public
int
$id
$name
public
string
$name
$saveLogs
public
bool
$saveLogs
= true
$sent
public
int
$sent
= 0
$uid
public
string
$uid
$useQueue
public
bool
$useQueue
$variables
public
array<string|int, mixed>
$variables
= []
$_emails
protected
array<string|int, mixed>
$_emails
= []
$_sources
protected
array<string|int, mixed>
$_sources
= []
$_users
protected
array<string|int, mixed>
$_users
= []
Methods
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —defineRules()
public
defineRules() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getAllEmails()
Get all emails this shot will be sent to
public
getAllEmails() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDescription()
Get email shot description
public
getDescription() : string
Return values
string —getEmail()
get email object
public
getEmail() : Email
Return values
Email —getEmailCount()
Get the amount of emails this shot will be sent to
public
getEmailCount() : int
Return values
int —getEmails()
Emails getter
public
getEmails() : array<string|int, mixed>
Return values
array<string|int, mixed> —getSourceObjects()
Get source objects
public
getSourceObjects() : array<string|int, EmailSourceInterface>
Return values
array<string|int, EmailSourceInterface> —getSources()
Sources getter
public
getSources() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUserElements()
Get user elements from their ids
public
getUserElements() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUsers()
Users getter
public
getUsers() : array<string|int, mixed>
Return values
array<string|int, mixed> —setEmails()
Emails setter
public
setEmails(string|array<string|int, mixed> $emails) : mixed
Parameters
- $emails : string|array<string|int, mixed>
Return values
mixed —setSources()
Sources setter
public
setSources(string|array<string|int, mixed> $sources) : mixed
Parameters
- $sources : string|array<string|int, mixed>
Return values
mixed —setUsers()
Users setter
public
setUsers(string|array<string|int, mixed> $users) : mixed
Parameters
- $users : string|array<string|int, mixed>