ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMailErrorFormatter. More...
Public Member Functions | |
__construct (\ilLanguage $lng) | |
ilMailErrorFormatter constructor. More... | |
format (array $errors) | |
Formats an error string based on the passed list of errors. More... | |
Protected Attributes | |
$lng | |
Class ilMailErrorFormatter.
Definition at line 8 of file class.ilMailErrorFormatter.php.
ilMailErrorFormatter::__construct | ( | \ilLanguage | $lng | ) |
ilMailErrorFormatter constructor.
ilLanguage | $lng |
Definition at line 17 of file class.ilMailErrorFormatter.php.
References $lng.
ilMailErrorFormatter::format | ( | array | $errors | ) |
Formats an error string based on the passed list of errors.
If the list contains > 1 elements, the 1st error will be used as a headline for the list of errors.
$errors | [] |
Definition at line 28 of file class.ilMailErrorFormatter.php.
References $tpl.
|
protected |
Definition at line 11 of file class.ilMailErrorFormatter.php.
Referenced by __construct().