19 declare(strict_types=1);
53 $this->tpl->setOnScreenMessage(
"success",
$out,
true);
60 $errmsg[] = sprintf(
'<li>%s (%s)</li>', $rec_indentifier, $this->
lng->txt(
$message));
67 .
'<ul>' . implode(
'', $errmsg) .
'</ul>';
69 $this->tpl->setOnScreenMessage(
"failure", $out,
true);
ilGlobalTemplateInterface $tpl
Util around ilPRGMessageCollection factors and output collections.
withNewTopic(string $description)
showMessages(ilPRGMessageCollection $msg)
getMessageCollection(string $topic)
__construct(ilPRGMessageCollection $collection, ilLanguage $lng, ilGlobalTemplateInterface $tpl)
ilPRGMessageCollection $collection
Holds information about multi-actions, mainly in context of member-assignemnts and status changes...