ILIAS  release_7 Revision v7.30-3-g800a261c036
isStandardItem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
26interface 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}
An exception for terminatinating execution or to throw for unit testing.
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.