7 use \ILIAS\UI\Component\Legacy\Legacy;
37 $this->lead_icon = $icon;
65 $clone->close_action =
$url;
104 $clone = clone $this;
105 $clone->lead_icon = $icon;
withCloseAction(string $url)
Get an Item like this with an url to consulted async, when to close button is pressed.With this url, information may be stored persistently in the DB without interrupting the workflow of the user (e.g. setting a flag, that the message was consulted).
Class ChatMainBarProvider .
getAdditionalContent()
Get the additional content of the item or null.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Common interface to all items.
withAdditionalContent(Legacy $additional_content)
Get a Notification Item like this but with additional content bellow the description.Note this should only be used, if the content section needs to hold legacy content that currently does not have a place in the UI components.
getLeadIcon()
Get icon as lead.Note that Notifications only accept Icons as lead, this is different from the standa...
withLeadIcon(\ILIAS\UI\Component\Symbol\Icon\Icon $icon)
withAggregateNotifications(array $aggregate_notifications)
Get an Notification Item like this, but with a set of Notifications, this Notification Item will aggr...
getCloseAction()
Get the url attached to this Notification Item.
__construct(Container $dic, ilPlugin $plugin)
checkArgListElements($which, array &$values, $classes)
Check every element of the list if it is an instance of one of the given classes. ...
getAggregateNotifications()
Get the list of Notification Items, this Notification Item aggregates or an empty list...
__construct($title, \ILIAS\UI\Component\Symbol\Icon\Icon $icon)