EmailMessagesVariable
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\EmailMessagesVariable
- Since
- 1.0
Email functions.
See also http://craftcms.com
View source (opens new window)
# Public Methods
Method | Description |
---|---|
getAllMessages() | Returns all of the system email messages. |
getMessage() | Returns a system email message by its key. |
# getAllMessages()
Signature
public array getAllMessages ( )
# getMessage()
Returns a system email message by its key.
View source (opens new window)
Arguments
$key
(string (opens new window))$language
(string (opens new window), null (opens new window))
Returns
Signature
public Craft\RebrandEmailModel, null getMessage ( $key, $language = null )