7use \ILIAS\UI\Component\Legacy\Legacy;
37 $this->lead_icon = $icon;
65 $clone->close_action =
$url;
104 $clone = clone $this;
105 $clone->lead_icon = $icon;
An exception for terminatinating execution or to throw for unit testing.
Common interface to all items.
withLeadIcon(\ILIAS\UI\Component\Symbol\Icon\Icon $icon)
__construct($title, \ILIAS\UI\Component\Symbol\Icon\Icon $icon)
getLeadIcon()
Get icon as lead.Note that Notifications only accept Icons as lead, this is different from the standa...
getAdditionalContent()
Get the additional content of the item or null.
withAggregateNotifications(array $aggregate_notifications)
Get an Notification Item like this, but with a set of Notifications, this Notification Item will aggr...
getAggregateNotifications()
Get the list of Notification Items, this Notification Item aggregates or an empty list....
getCloseAction()
Get the url attached to this Notification Item.
withCloseAction(string $url)
Get an Item like this with an url to consulted async, when to close button is pressed....
withAdditionalContent(Legacy $additional_content)
Get a Notification Item like this but with additional content bellow the description....
A component is the most general form of an entity in the UI.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
checkArgListElements($which, array &$values, $classes)
Check every element of the list if it is an instance of one of the given classes.
Class ChatMainBarProvider \MainMenu\Provider.