ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
isItem.php
Go to the documentation of this file.
2 
5 
11 interface isItem extends isGlobalScreenItem
12 {
13 
17  public function getRenderer() : MetaBarItemRenderer;
18 
19 
28  public function withVisibilityCallable(callable $is_visible) : isItem;
29 
30 
34  public function isVisible() : bool;
35 
36 
46  public function withAvailableCallable(callable $is_avaiable) : isItem;
47 
48 
52  public function isAvailable() : bool;
53 
54 
61  public function getPosition() : int;
62 
63 
69  public function withPosition(int $position) : isItem;
70 }
withAvailableCallable(callable $is_avaiable)
Pass a callable which can decide wheter your element is available in general, e.g.
getPosition()
Return the default position for installation, this will be overridden by the configuration later...
withVisibilityCallable(callable $is_visible)
Pass a callable which can decide whether your element is visible for the current user.