ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
isStandardItem.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
26 interface isStandardItem extends isItem
27 {
33  public function withOpenedCallable(callable $handle_opened) : isItem;
34 
39  public function getOpenedCallable() : callable;
40 
46  public function withClosedCallable(callable $handle_closed) : isItem;
47 
52  public function getClosedCallable() : ?callable;
53 
59  public function hasClosedCallable() : bool;
60 }
getClosedCallable()
Get the callable to be executed, when this specific item is closed.
getOpenedCallable()
Get the callable to be executed, when the notification center is opened.
hasClosedCallable()
Get whether there are any callables to be executed when the notification center is closed...
withClosedCallable(callable $handle_closed)
Set the callable to be executed, when this specific item is closed.
withOpenedCallable(callable $handle_opened)
Set the callable to be executed, when the notification center is opened.