ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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_HANDLE_TOAST_ACTION = "toast_action" |
Value of the MODE GET param, if a ToastLik has been klicked. 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 = "notify.php" |
Location of the endpoint handling async notification requests. More... | |
Protected Attributes | |
Container | $dic |
array | $notification_groups |
Collected set of collected notifications. More... | |
array | $identifiers_to_handle = [] |
string | $single_identifier_to_handle = null |
array | $administrative_notifications = [] |
Private Member Functions | |
handleToastAction () | |
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 | |
string | $additional_action = null |
array | $toasts = [] |
Definition at line 36 of file Notifications.php.
GuzzleHttp\Client\Notifications::__construct | ( | ) |
Definition at line 90 of file Notifications.php.
References $DIC.
|
private |
Runs the closed callable if such a callable is provided.
Definition at line 183 of file Notifications.php.
Referenced by GuzzleHttp\Client\Notifications\run().
|
private |
Loops through all available open callable provided by the notification providers.
Definition at line 158 of file Notifications.php.
Referenced by GuzzleHttp\Client\Notifications\run().
|
private |
ResponseSendingException | |
JsonException |
Definition at line 215 of file Notifications.php.
References ILIAS\StaticURL\Response\Response\ResponseHeader\CONTENT_TYPE, and ILIAS\Filesystem\Stream\Streams\ofString().
Referenced by GuzzleHttp\Client\Notifications\run().
|
private |
Definition at line 139 of file Notifications.php.
References GuzzleHttp\Client\Notifications\$additional_action.
Referenced by GuzzleHttp\Client\Notifications\run().
GuzzleHttp\Client\Notifications::run | ( | ) |
$DI
Definition at line 96 of file Notifications.php.
References $DIC, GuzzleHttp\Client\Notifications\handleClosed(), GuzzleHttp\Client\Notifications\handleOpened(), GuzzleHttp\Client\Notifications\handleRerender(), GuzzleHttp\Client\Notifications\handleToastAction(), and null.
|
private |
Definition at line 44 of file Notifications.php.
Referenced by GuzzleHttp\Client\Notifications\handleToastAction().
|
protected |
Definition at line 84 of file Notifications.php.
|
protected |
Definition at line 45 of file Notifications.php.
|
protected |
Definition at line 82 of file Notifications.php.
|
protected |
Collected set of collected notifications.
Definition at line 49 of file Notifications.php.
|
protected |
Definition at line 83 of file Notifications.php.
|
private |
Definition at line 88 of file Notifications.php.
const GuzzleHttp\Client\Notifications::ADDITIONAL_ACTION = 'additional_action' |
Definition at line 40 of file Notifications.php.
const GuzzleHttp\Client\Notifications::ITEM_ID = "item_id" |
NAME of the GET param, to indicate the item ID of the closed item.
Definition at line 73 of file Notifications.php.
const GuzzleHttp\Client\Notifications::MODE = "mode" |
Name of the GET param used in the async calls.
Definition at line 53 of file Notifications.php.
const GuzzleHttp\Client\Notifications::MODE_CLOSED = "closed" |
Value of the MODE GET param, if the Notification Center has been closed.
Definition at line 61 of file Notifications.php.
const GuzzleHttp\Client\Notifications::MODE_HANDLE_TOAST_ACTION = "toast_action" |
Value of the MODE GET param, if a ToastLik has been klicked.
Definition at line 65 of file Notifications.php.
const GuzzleHttp\Client\Notifications::MODE_OPENED = "opened" |
Value of the MODE GET param, if the Notification Center has been opened.
Definition at line 57 of file Notifications.php.
const GuzzleHttp\Client\Notifications::MODE_RERENDER = "rerender" |
Value of the MODE GET param, if the Notification Center should be rerendered.
Definition at line 69 of file Notifications.php.
const GuzzleHttp\Client\Notifications::NOTIFICATION_IDENTIFIERS = "notification_identifiers" |
Used to read the identifiers out of the GET param later.
Definition at line 77 of file Notifications.php.
const GuzzleHttp\Client\Notifications::NOTIFY_ENDPOINT = "notify.php" |
Location of the endpoint handling async notification requests.
Definition at line 81 of file Notifications.php.