|
ILIAS
release_8 Revision v8.26
|
Class ilBTControllerGUI. More...
Inheritance diagram for ilBTControllerGUI:
Collaboration diagram for ilBTControllerGUI:Public Member Functions | |
| executeCommand () | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
Static Public Member Functions | |
| static | hash (string $url) |
| static | unhash (string $url) |
Data Fields | |
| const | FROM_URL = 'from_url' |
| const | OBSERVER_ID = 'observer_id' |
| const | SELECTED_OPTION = 'selected_option' |
| const | CMD_ABORT = 'abortBucket' |
| const | CMD_REMOVE = 'abortBucket' |
| const | CMD_USER_INTERACTION = 'userInteraction' |
| const | IS_ASYNC = 'bt_task_is_async' |
| const | CMD_GET_REPLACEMENT_ITEM = "getAsyncReplacementItem" |
Protected Member Functions | |
| userInteraction () | |
| abortBucket () | |
| getAsyncReplacementItem () | |
| Loads one single aggregate notification item representing a button async to replace an existing one. More... | |
Private Member Functions | |
| getFromURL () | |
| enforceBucketBelongsToCurrentUser (Bucket $bucket) | |
| defaultReturnUrl () | |
| sendSuccessResponse (Stream $stream) | |
| redirectToCallerOrClose () | |
| respondWithError (int $error_status_code, string $message) | |
| retrieveSelectedInteractionOption () | |
| wasInvokedAsynchronously () | |
| retrieveObserverIdFromRequest () | |
| retrieveFromUrlFromRequest () | |
Class ilBTControllerGUI.
Definition at line 35 of file class.ilBTControllerGUI.php.
|
protected |
Definition at line 101 of file class.ilBTControllerGUI.php.
References enforceBucketBelongsToCurrentUser(), redirectToCallerOrClose(), respondWithError(), and retrieveObserverIdFromRequest().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 199 of file class.ilBTControllerGUI.php.
References ilUtil\_getHttpPath().
Referenced by getFromURL(), and respondWithError().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 192 of file class.ilBTControllerGUI.php.
References ILIAS\BackgroundTasks\Bucket\getUserId(), and respondWithError().
Referenced by abortBucket(), getAsyncReplacementItem(), and userInteraction().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBTControllerGUI::executeCommand | ( | ) |
Definition at line 47 of file class.ilBTControllerGUI.php.
References abortBucket(), CMD_ABORT, CMD_GET_REPLACEMENT_ITEM, CMD_REMOVE, CMD_USER_INTERACTION, ILIAS\Repository\ctrl(), getAsyncReplacementItem(), and userInteraction().
Here is the call graph for this function:
|
protected |
Loads one single aggregate notification item representing a button async to replace an existing one.
Definition at line 122 of file class.ilBTControllerGUI.php.
References enforceBucketBelongsToCurrentUser(), respondWithError(), retrieveObserverIdFromRequest(), sendSuccessResponse(), and ILIAS\Repository\ui().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 145 of file class.ilBTControllerGUI.php.
References ILIAS\LTI\ToolProvider\$key, defaultReturnUrl(), retrieveFromUrlFromRequest(), unhash(), ILIAS\Data\URI\withFragment(), ILIAS\Data\URI\withPath(), and ILIAS\Data\URI\withQuery().
Referenced by redirectToCallerOrClose().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBTControllerGUI::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 75 of file class.ilBTControllerGUI.php.
| ilBTControllerGUI::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 66 of file class.ilBTControllerGUI.php.
|
static |
Definition at line 182 of file class.ilBTControllerGUI.php.
References $url.
Referenced by ilBTPopOverGUI\addFromUrlToNextRequest().
Here is the caller graph for this function:
|
private |
Definition at line 217 of file class.ilBTControllerGUI.php.
References ILIAS\Repository\ctrl(), getFromURL(), ILIAS\FileDelivery\http(), and wasInvokedAsynchronously().
Referenced by abortBucket(), and userInteraction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 226 of file class.ilBTControllerGUI.php.
References $message, $response, defaultReturnUrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and wasInvokedAsynchronously().
Referenced by abortBucket(), enforceBucketBelongsToCurrentUser(), getAsyncReplacementItem(), and userInteraction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 278 of file class.ilBTControllerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by getFromURL().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 267 of file class.ilBTControllerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by abortBucket(), getAsyncReplacementItem(), and userInteraction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 245 of file class.ilBTControllerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by userInteraction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 204 of file class.ilBTControllerGUI.php.
References $response, ILIAS\FileDelivery\http(), and wasInvokedAsynchronously().
Referenced by getAsyncReplacementItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 187 of file class.ilBTControllerGUI.php.
References $url.
Referenced by getFromURL().
Here is the caller graph for this function:
|
protected |
Definition at line 80 of file class.ilBTControllerGUI.php.
References enforceBucketBelongsToCurrentUser(), redirectToCallerOrClose(), respondWithError(), retrieveObserverIdFromRequest(), and retrieveSelectedInteractionOption().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 256 of file class.ilBTControllerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by redirectToCallerOrClose(), respondWithError(), and sendSuccessResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| const ilBTControllerGUI::CMD_ABORT = 'abortBucket' |
Definition at line 41 of file class.ilBTControllerGUI.php.
Referenced by executeCommand(), and ilBTPopOverGUI\getCloseButtonAction().
| const ilBTControllerGUI::CMD_GET_REPLACEMENT_ITEM = "getAsyncReplacementItem" |
Definition at line 45 of file class.ilBTControllerGUI.php.
Referenced by executeCommand(), and ilBTPopOverGUI\getRefreshUrl().
| const ilBTControllerGUI::CMD_REMOVE = 'abortBucket' |
Definition at line 42 of file class.ilBTControllerGUI.php.
Referenced by executeCommand(), and ilBTPopOverGUI\getCloseButtonAction().
| const ilBTControllerGUI::CMD_USER_INTERACTION = 'userInteraction' |
Definition at line 43 of file class.ilBTControllerGUI.php.
Referenced by executeCommand(), and ilBTPopOverGUI\getCloseButtonAction().
| const ilBTControllerGUI::FROM_URL = 'from_url' |
Definition at line 38 of file class.ilBTControllerGUI.php.
Referenced by ilBTPopOverGUI\addFromUrlToNextRequest().
| const ilBTControllerGUI::IS_ASYNC = 'bt_task_is_async' |
Definition at line 44 of file class.ilBTControllerGUI.php.
Referenced by ilBTPopOverGUI\getCloseButtonAction().
| const ilBTControllerGUI::OBSERVER_ID = 'observer_id' |
Definition at line 39 of file class.ilBTControllerGUI.php.
Referenced by ilBTPopOverGUI\getCloseButtonAction(), and ilBTPopOverGUI\getRefreshUrl().
| const ilBTControllerGUI::SELECTED_OPTION = 'selected_option' |
Definition at line 40 of file class.ilBTControllerGUI.php.
Referenced by ilBTPopOverGUI\getCloseButtonAction().