Class craft\web\twig\variables\EmailMessages
- Inheritance
- craft\web\twig\variables\EmailMessages
- Available since version
- 3.0
- Deprecated since version
- in 3.0
- Source Code
- https://github.com/craftcms/cms/blob/master/src/web/twig/variables/EmailMessages.php
Email functions.
Method | Description | Defined By |
---|---|---|
getAllMessages() |
Returns all of the system email messages. | craft\web\twig\variables\EmailMessages |
getMessage() |
Returns a system email message by its key. | craft\web\twig\variables\EmailMessages |
Method Details
getAllMessages()
public method
#
Returns all of the system email messages.
public array getAllMessages ( )
getMessage()
public method
#
Returns a system email message by its key.
public craft\models\SystemMessage, null getMessage ( \craft\web\twig\variables\string $key, \craft\web\twig\variables\string $language = null )
$key |
string | |
$language |
string, null |