ILIAS  release_7 Revision v7.30-3-g800a261c036
DynamicProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
34interface DynamicProvider extends Provider
35{
43 public function isGloballyAvailable() : bool;
44
51 public function isAvailableForCurrentUser() : bool;
52
58 public function isCurrentlyAvailable() : bool;
59}
An exception for terminatinating execution or to throw for unit testing.
Interface DynamicProvider Needs JF decision whenever a new DynamicProvider is implemented.
isAvailableForCurrentUser()
Return a simple bool whether the GlobalScreen element could be relevant for the current logged in use...
isCurrentlyAvailable()
ATTENTION: Implement your isCurrentlyActive()-Method as efficient as possible.
isGloballyAvailable()
Return a simple bool whether your component provides dynamic elements for the GlobalScreen Service.