|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
@ilCtrl_Calls ilObjLearningSequenceLearnerGUI: ilCommonActionDispatcherGUI More...
Inheritance diagram for ilObjLearningSequenceLearnerGUI:
Collaboration diagram for ilObjLearningSequenceLearnerGUI:Public Member Functions | |
| __construct (protected int $usr_id, protected ilAccess $access, protected ilCtrl $ctrl, protected ilLanguage $lng, protected ilGlobalTemplateInterface $tpl, protected ilToolbarGUI $toolbar, protected ILIAS\UI\Factory $ui_factory, protected ILIAS\UI\Renderer $renderer, protected ilLearningSequenceRoles $roles, protected ilLearningSequenceSettings $settings, protected ilLSLaunchlinksBuilder $launchlinks_builder, protected ilLSLearnerItemsQueries $ls_items, protected ilLSPlayer $player, protected string $intro, protected string $extro, protected RequestWrapper $get) | |
| getUnsafeGetCommands () | |
| Joining and leaving the learning sequence are triggered by links (launch button, interruptive modal action) and therefore need to be protected by an ilCtrl CSRF token. More... | |
| getSafePostCommands () | |
| @inheritDoc More... | |
| 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... | |
Data Fields | |
| const | CMD_SAVE_RATING = 'saveRating' |
| const | CMD_REDRAW_LIST_ITEM = 'redrawListItem' |
| const | CMD_STANDARD = 'learnerView' |
| const | CMD_EXTRO = 'learnerViewFinished' |
| const | CMD_UNSUBSCRIBE_CONFIRMATION = 'unsubscribeConfirmation' |
| const | CMD_UNSUBSCRIBE = 'unsubscribe' |
| const | CMD_VIEW = 'view' |
| const | CMD_START = 'start' |
| const | PARAM_LSO_NEXT_ITEM = 'lsoni' |
| const | LSO_CMD_NEXT = 'lson' |
| const | LSO_CMD_PREV = 'lsop' |
Protected Member Functions | |
| executeCommandByCommand (string $cmd) | |
| redrawListItem () | |
| isRatingListItemInCurrentLearningSequence (int $child_ref_id, int $parent_ref_id) | |
| unsubscribeConfirmationModal () | |
| view (string $cmd) | |
| addMember (int $usr_id) | |
| initToolbar (string $cmd, Interruptive $modal) | |
| play () | |
Private Member Functions | |
| getWrappedHTML (array $components) | |
| getMainContent (string $cmd) | |
@ilCtrl_Calls ilObjLearningSequenceLearnerGUI: ilCommonActionDispatcherGUI
Definition at line 29 of file class.ilObjLearningSequenceLearnerGUI.php.
| ilObjLearningSequenceLearnerGUI::__construct | ( | protected int | $usr_id, |
| protected ilAccess | $access, | ||
| protected ilCtrl | $ctrl, | ||
| protected ilLanguage | $lng, | ||
| protected ilGlobalTemplateInterface | $tpl, | ||
| protected ilToolbarGUI | $toolbar, | ||
| protected ILIAS\UI\Factory | $ui_factory, | ||
| protected ILIAS\UI\Renderer | $renderer, | ||
| protected ilLearningSequenceRoles | $roles, | ||
| protected ilLearningSequenceSettings | $settings, | ||
| protected ilLSLaunchlinksBuilder | $launchlinks_builder, | ||
| protected ilLSLearnerItemsQueries | $ls_items, | ||
| protected ilLSPlayer | $player, | ||
| protected string | $intro, | ||
| protected string | $extro, | ||
| protected RequestWrapper | $get | ||
| ) |
Definition at line 44 of file class.ilObjLearningSequenceLearnerGUI.php.
|
protected |
Definition at line 293 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand().
Here is the caller graph for this function:| ilObjLearningSequenceLearnerGUI::executeCommand | ( | ) |
Definition at line 87 of file class.ilObjLearningSequenceLearnerGUI.php.
References ILIAS\Repository\ctrl(), executeCommandByCommand(), and ilCommonActionDispatcherGUI\getInstanceFromAjaxCall().
Here is the call graph for this function:
|
protected |
Definition at line 105 of file class.ilObjLearningSequenceLearnerGUI.php.
References addMember(), CMD_EXTRO, CMD_REDRAW_LIST_ITEM, CMD_STANDARD, CMD_START, CMD_UNSUBSCRIBE, CMD_UNSUBSCRIBE_CONFIRMATION, CMD_VIEW, ILIAS\Repository\ctrl(), play(), redrawListItem(), unsubscribeConfirmationModal(), and view().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 331 of file class.ilObjLearningSequenceLearnerGUI.php.
References $contents, and ILIAS\Repository\settings().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLearningSequenceLearnerGUI::getSafePostCommands | ( | ) |
@inheritDoc
Implements ilCtrlSecurityInterface.
Definition at line 82 of file class.ilObjLearningSequenceLearnerGUI.php.
| ilObjLearningSequenceLearnerGUI::getUnsafeGetCommands | ( | ) |
Joining and leaving the learning sequence are triggered by links (launch button, interruptive modal action) and therefore need to be protected by an ilCtrl CSRF token.
@inheritDoc
Implements ilCtrlSecurityInterface.
Definition at line 71 of file class.ilObjLearningSequenceLearnerGUI.php.
References CMD_START, and CMD_UNSUBSCRIBE.
|
private |
Definition at line 320 of file class.ilObjLearningSequenceLearnerGUI.php.
References $components, and renderer().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 301 of file class.ilObjLearningSequenceLearnerGUI.php.
References ILIAS\UI\Component\Modal\Modal\getShowSignal(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 253 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by redrawListItem().
Here is the caller graph for this function:
|
protected |
Definition at line 362 of file class.ilObjLearningSequenceLearnerGUI.php.
References $response, CMD_EXTRO, CMD_STANDARD, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilUtil\redirect().
Referenced by executeCommandByCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 140 of file class.ilObjLearningSequenceLearnerGUI.php.
References $DIC, ILIAS\BookingManager\Common\Table\$http, $response, ILIAS\News\Common\Table\$tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\access(), ilCommonActionDispatcherGUI\buildAjaxHash(), ILIAS\GlobalScreen\get(), ILIAS\UICore\GlobalTemplate\get(), ilRating\hasRatingInListGUI(), ILIAS\Repository\int(), isRatingListItemInCurrentLearningSequence(), ILIAS\Repository\lng(), ilRating\preloadListGUIData(), ILIAS\UICore\GlobalTemplate\setVariable(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by executeCommandByCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 268 of file class.ilObjLearningSequenceLearnerGUI.php.
References ILIAS\Repository\lng().
Referenced by executeCommandByCommand(), and view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 277 of file class.ilObjLearningSequenceLearnerGUI.php.
References getMainContent(), getWrappedHTML(), initToolbar(), ilPCLauncher\PCELEMENT, renderer(), and unsubscribeConfirmationModal().
Referenced by executeCommandByCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| const ilObjLearningSequenceLearnerGUI::CMD_EXTRO = 'learnerViewFinished' |
Definition at line 35 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand(), and play().
| const ilObjLearningSequenceLearnerGUI::CMD_REDRAW_LIST_ITEM = 'redrawListItem' |
Definition at line 32 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand(), and ilLSPlayer\play().
| const ilObjLearningSequenceLearnerGUI::CMD_SAVE_RATING = 'saveRating' |
Definition at line 31 of file class.ilObjLearningSequenceLearnerGUI.php.
| const ilObjLearningSequenceLearnerGUI::CMD_STANDARD = 'learnerView' |
Definition at line 34 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand(), and play().
| const ilObjLearningSequenceLearnerGUI::CMD_START = 'start' |
Definition at line 39 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand(), and getUnsafeGetCommands().
| const ilObjLearningSequenceLearnerGUI::CMD_UNSUBSCRIBE = 'unsubscribe' |
Definition at line 37 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand(), and getUnsafeGetCommands().
| const ilObjLearningSequenceLearnerGUI::CMD_UNSUBSCRIBE_CONFIRMATION = 'unsubscribeConfirmation' |
Definition at line 36 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand().
| const ilObjLearningSequenceLearnerGUI::CMD_VIEW = 'view' |
Definition at line 38 of file class.ilObjLearningSequenceLearnerGUI.php.
Referenced by executeCommandByCommand().
| const ilObjLearningSequenceLearnerGUI::LSO_CMD_NEXT = 'lson' |
Definition at line 41 of file class.ilObjLearningSequenceLearnerGUI.php.
| const ilObjLearningSequenceLearnerGUI::LSO_CMD_PREV = 'lsop' |
Definition at line 42 of file class.ilObjLearningSequenceLearnerGUI.php.
| const ilObjLearningSequenceLearnerGUI::PARAM_LSO_NEXT_ITEM = 'lsoni' |
Definition at line 40 of file class.ilObjLearningSequenceLearnerGUI.php.