ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Class ilMailErrorFormatter. More...
Public Member Functions | |
__construct (protected ilLanguage $lng) | |
format (array $errors) | |
Formats an error string based on the passed list of errors. More... | |
Class ilMailErrorFormatter.
Definition at line 25 of file class.ilMailErrorFormatter.php.
ilMailErrorFormatter::__construct | ( | protected ilLanguage | $lng | ) |
Definition at line 27 of file class.ilMailErrorFormatter.php.
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.
ilMailError[] | $errors |
Definition at line 36 of file class.ilMailErrorFormatter.php.
References ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().