ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
isStandardItem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27interface 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}
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.
withOpenedCallable(callable $handle_opened)
Set the callable to be executed, when the notification center is opened.
getClosedCallable()
Get the callable to be executed, when this specific item is closed.
withClosedCallable(callable $handle_closed)
Set the callable to be executed, when this specific item is closed.