Email
extends Model
in package
Table of Contents
- $bcc : mixed
- $cc : mixed
- $ckeConfig : mixed
- $dateCreated : mixed
- $dateUpdated : mixed
- $from : mixed
- $fromName : mixed
- $heading : mixed
- $id : mixed
- $instructions : mixed
- $key : mixed
- $plain : mixed
- $redactorConfig : mixed
- $replyTo : mixed
- $saveLogs : mixed
- $sent : mixed
- $system : mixed
- $template : mixed
- $uid : mixed
- defineRules() : array<string|int, mixed>
- getAllDefinedLanguages() : array<string|int, mixed>
- Get all languages for which a message is defined
- getConfig() : array<string|int, mixed>
- Get project config
- getCpEditUrl() : string
- Get cp edit url
- getMessage() : SystemMessage|null
- Get the system message associated to that email, for a language.
- populateFromPost() : mixed
- Populate email from post
Properties
$bcc
public
mixed
$bcc
$cc
public
mixed
$cc
$ckeConfig
public
mixed
$ckeConfig
= ''
$dateCreated
public
mixed
$dateCreated
$dateUpdated
public
mixed
$dateUpdated
$from
public
mixed
$from
$fromName
public
mixed
$fromName
$heading
public
mixed
$heading
= ''
$id
public
mixed
$id
$instructions
public
mixed
$instructions
= ''
$key
public
mixed
$key
$plain
public
mixed
$plain
= false
$redactorConfig
public
mixed
$redactorConfig
= 'Default.json'
$replyTo
public
mixed
$replyTo
$saveLogs
public
mixed
$saveLogs
= true
$sent
public
mixed
$sent
$system
public
mixed
$system
= false
$template
public
mixed
$template
= 'emails/template'
$uid
public
mixed
$uid
Methods
defineRules()
public
defineRules() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getAllDefinedLanguages()
Get all languages for which a message is defined
public
getAllDefinedLanguages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getConfig()
Get project config
public
getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCpEditUrl()
Get cp edit url
public
getCpEditUrl() : string
Return values
string —getMessage()
Get the system message associated to that email, for a language.
public
getMessage([string|null $language = null ]) : SystemMessage|null
Parameters
- $language : string|null = null
Return values
SystemMessage|null —populateFromPost()
Populate email from post
public
populateFromPost() : mixed