ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DynamicProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
35interface DynamicProvider extends Provider
36{
44 public function isGloballyAvailable(): bool;
45
52 public function isAvailableForCurrentUser(): bool;
53
59 public function isCurrentlyAvailable(): bool;
60}
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.