ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
isStandardItem.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 interface isStandardItem extends isItem
28 {
34  public function withOpenedCallable(callable $handle_opened): isItem;
35 
40  public function getOpenedCallable(): callable;
41 
47  public function withClosedCallable(callable $handle_closed): isItem;
48 
53  public function getClosedCallable(): ?callable;
54 
60  public function hasClosedCallable(): bool;
61 }
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.