ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
isStandardItem.php
Go to the documentation of this file.
1 <?php
2 
3 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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...