ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct () | |
run () | |
Data Fields | |
const | ADDITIONAL_ACTION = 'additional_action' |
const | MODE = "mode" |
Name of the GET param used in the async calls. More... | |
const | MODE_OPENED = "opened" |
Value of the MODE GET param, if the Notification Center has been opened. More... | |
const | MODE_CLOSED = "closed" |
Value of the MODE GET param, if the Notification Center has been closed. More... | |
const | MODE_RERENDER = "rerender" |
Value of the MODE GET param, if the Notification Center should be rerendered. More... | |
const | ITEM_ID = "item_id" |
NAME of the GET param, to indicate the item ID of the closed item. More... | |
const | NOTIFICATION_IDENTIFIERS = "notification_identifiers" |
Used to read the identifiers out of the GET param later. More... | |
const | NOTIFY_ENDPOINT = "src/GlobalScreen/Client/notify.php" |
Location of the endpoint handling async notification requests. More... | |
Protected Attributes | |
$dic | |
$notification_groups | |
$identifiers_to_handle = [] | |
$single_identifier_to_handle | |
$administrative_notifications = [] | |
Private Member Functions | |
handleOpened () | |
Loops through all available open callable provided by the notification providers. More... | |
handleClosed () | |
Runs the closed callable if such a callable is provided. More... | |
handleRerender () | |
Private Attributes | |
$additional_action | |
Definition at line 35 of file Notifications.php.
ILIAS\GlobalScreen\Client\Notifications::__construct | ( | ) |
Definition at line 94 of file Notifications.php.
References $DIC.
|
private |
Runs the closed callable if such a callable is provided.
Definition at line 151 of file Notifications.php.
Referenced by ILIAS\GlobalScreen\Client\Notifications\run().
|
private |
Loops through all available open callable provided by the notification providers.
Definition at line 126 of file Notifications.php.
Referenced by ILIAS\GlobalScreen\Client\Notifications\run().
|
private |
ResponseSendingException | |
JsonException |
Definition at line 183 of file Notifications.php.
References ILIAS\HTTP\Response\ResponseHeader\CONTENT_TYPE, and ILIAS\Filesystem\Stream\Streams\ofString().
Referenced by ILIAS\GlobalScreen\Client\Notifications\run().
ILIAS\GlobalScreen\Client\Notifications::run | ( | ) |
Definition at line 100 of file Notifications.php.
References ILIAS\GlobalScreen\Client\Notifications\handleClosed(), ILIAS\GlobalScreen\Client\Notifications\handleOpened(), and ILIAS\GlobalScreen\Client\Notifications\handleRerender().
|
private |
Definition at line 43 of file Notifications.php.
|
protected |
Definition at line 92 of file Notifications.php.
|
protected |
Definition at line 47 of file Notifications.php.
|
protected |
Definition at line 84 of file Notifications.php.
|
protected |
Definition at line 52 of file Notifications.php.
|
protected |
Definition at line 88 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::ADDITIONAL_ACTION = 'additional_action' |
Definition at line 39 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::ITEM_ID = "item_id" |
NAME of the GET param, to indicate the item ID of the closed item.
Definition at line 72 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::MODE = "mode" |
Name of the GET param used in the async calls.
Definition at line 56 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::MODE_CLOSED = "closed" |
Value of the MODE GET param, if the Notification Center has been closed.
Definition at line 64 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::MODE_OPENED = "opened" |
Value of the MODE GET param, if the Notification Center has been opened.
Definition at line 60 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::MODE_RERENDER = "rerender" |
Value of the MODE GET param, if the Notification Center should be rerendered.
Definition at line 68 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::NOTIFICATION_IDENTIFIERS = "notification_identifiers" |
Used to read the identifiers out of the GET param later.
Definition at line 76 of file Notifications.php.
const ILIAS\GlobalScreen\Client\Notifications::NOTIFY_ENDPOINT = "src/GlobalScreen/Client/notify.php" |
Location of the endpoint handling async notification requests.
Definition at line 80 of file Notifications.php.