3declare(strict_types=1);
100 $clone = clone($this);
101 $clone->visiblility_callable = $is_visible;
108 if (isset($this->is_visible_static)) {
112 return $this->is_visible_static =
false;
114 if (is_callable($this->visiblility_callable)) {
117 $value = $callable();
119 return $this->is_visible_static = $value;
122 return $this->is_visible_static =
true;
127 if (is_callable($this->available_callable)) {
138 $clone = clone($this);
139 $clone->available_callable = $is_available;
146 $clone = clone($this);
154 $clone = clone($this);
162 $clone = clone($this);
Class AdministrativeNotificationRenderer.
Class AbstractBaseNotification.
Closure $visiblility_callable
getRenderer(UIFactory $factory)
@inheritDoc
const DENOTATION_IMPORTANT
withVisibilityCallable(callable $is_visible)
withTitle(string $title)
@inheritDoc
withAvailableCallable(callable $is_available)
Closure $available_callable
withSummary(string $summary)
@inheritDoc
IdentificationInterface $provider_identification
bool $is_always_available
withImportantDenotation()
const DENOTATION_BREAKING
Interface IdentificationInterface.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
This is how the factory for UI elements looks.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...