ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface DynamicProvider. More...
Public Member Functions | |
isGloballyAvailable () | |
Return a simple bool whether your component provides dynamic elements for the GlobalScreen Service. More... | |
isAvailableForCurrentUser () | |
Return a simple bool whether the GlobalScreen element could be relevant for the current logged in user. More... | |
isCurrentlyAvailable () | |
ATTENTION: Implement your isCurrentlyActive()-Method as efficient as possible. More... | |
Public Member Functions inherited from ILIAS\GlobalScreen\Provider\Provider | |
getFullyQualifiedClassName () | |
getProviderNameForPresentation () | |
Interface DynamicProvider.
Needs JF decision whenever a new DynamicProvider is implemented.
All dynamic providers will be asked whether there are GlobalScreen elements to append for the current context. Therefore you have to implement the following methods as efficient as possible. The methods will be called in the following order:
Definition at line 18 of file DynamicProvider.php.
ILIAS\GlobalScreen\Provider\DynamicProvider::isAvailableForCurrentUser | ( | ) |
Return a simple bool whether the GlobalScreen element could be relevant for the current logged in user.
E.g. if a user is not allowed to use the mail-system, return false;
ILIAS\GlobalScreen\Provider\DynamicProvider::isCurrentlyAvailable | ( | ) |
ATTENTION: Implement your isCurrentlyActive()-Method as efficient as possible.
ILIAS\GlobalScreen\Provider\DynamicProvider::isGloballyAvailable | ( | ) |
Return a simple bool whether your component provides dynamic elements for the GlobalScreen Service.
Return false e.g. if your component is not active. This should not be dependant from the current user.