EmailMessages

Type
Class
Namespace
craft\web\twig\variables
Inherits
craft\web\twig\variables\EmailMessages
Since
3.0
Deprecated in
in 3.0

Email functions.

View source

Public Methods

MethodDescription
getAllMessages()Returns all of the system email messages.
getMessage()Returns a system email message by its key.

getAllMessages()

Returns all of the system email messages.

View source

Returns

array

Signature

public array getAllMessages ( )

getMessage()

Returns a system email message by its key.

View source

Arguments

Returns

craft\models\SystemMessage, null

Signature

public craft\models\SystemMessage, null getMessage ( \craft\web\twig\variables\string $key, \craft\web\twig\variables\string $language = null )