Craft Emails (2.x)

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

$ckeConfig

public mixed $ckeConfig = ''

$dateCreated

public mixed $dateCreated

$dateUpdated

public mixed $dateUpdated

$fromName

public mixed $fromName

$heading

public mixed $heading = ''

$instructions

public mixed $instructions = ''

$plain

public mixed $plain = false

$redactorConfig

public mixed $redactorConfig = 'Default.json'

$replyTo

public mixed $replyTo

$saveLogs

public mixed $saveLogs = true

$system

public mixed $system = false

$template

public mixed $template = 'emails/template'

Methods

defineRules()

public defineRules() : array<string|int, mixed>
Tags
inheritDoc
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
Return values
mixed

Search results