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