ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Implementation of KioskMode Player. More...
Public Member Functions | |
__construct (string $lso_title, ilLSLearnerItemsQueries $ls_items, LSControlBuilder $control_builder, LSUrlBuilder $url_builder, ilLSCurriculumBuilder $curriculum_builder, ilLSViewFactory $view_factory, ilKioskPageRenderer $renderer, ILIAS\UI\Factory $ui_factory, ScreenContext $current_context) | |
play (array $get, array $post=null) | |
getCurrentItemLearningProgress () | |
Data Fields | |
const | PARAM_LSO_COMMAND = 'lsocmd' |
const | PARAM_LSO_PARAMETER = 'lsov' |
const | LSO_CMD_NEXT = 'lsonext' |
const | LSO_CMD_GOTO = 'lsogoto' |
const | LSO_CMD_SUSPEND = 'lsosuspend' |
const | LSO_CMD_FINISH = 'lsofinish' |
const | GS_DATA_LS_KIOSK_MODE = 'ls_kiosk_mode' |
const | GS_DATA_LS_CONTENT = 'ls_content' |
const | GS_DATA_LS_MAINBARCONTROLS = 'ls_mainbar_controls' |
const | GS_DATA_LS_METABARCONTROLS = 'ls_metabar_controls' |
const | RET_EXIT = 'EXIT::' |
const | RET_NOITEMS = 'NOITEMS' |
Protected Member Functions | |
getCurrentItem (array $items) | |
updateViewState (ILIAS\KioskMode\State $state, ILIAS\KioskMode\View $view, array $get, array $post=null) | |
getNextItem (array $items, LSLearnerItem $current_item, int $direction) | |
$direction is either -1 or 1; More... | |
findItemByRefId (array $items, int $ref_id) | |
buildDefaultControls (LSControlBuilder $control_builder, LSLearnerItem $item, int $item_position, array $items) | |
renderComponentView ( $state, ILIAS\KioskMode\View $view) | |
Implementation of KioskMode Player.
Definition at line 12 of file class.ilLSPlayer.php.
ilLSPlayer::__construct | ( | string | $lso_title, |
ilLSLearnerItemsQueries | $ls_items, | ||
LSControlBuilder | $control_builder, | ||
LSUrlBuilder | $url_builder, | ||
ilLSCurriculumBuilder | $curriculum_builder, | ||
ilLSViewFactory | $view_factory, | ||
ilKioskPageRenderer | $renderer, | ||
ILIAS\UI\Factory | $ui_factory, | ||
ScreenContext | $current_context | ||
) |
Definition at line 30 of file class.ilLSPlayer.php.
|
protected |
Definition at line 230 of file class.ilLSPlayer.php.
References LSControlBuilder\exit(), LSControlBuilder\getExitControl(), LSControlBuilder\getNextControl(), getNextItem(), LSControlBuilder\getPreviousControl(), LSControlBuilder\next(), and LSControlBuilder\previous().
Referenced by play().
|
protected |
Definition at line 220 of file class.ilLSPlayer.php.
References $index.
Referenced by getCurrentItem(), getNextItem(), and play().
|
protected |
array | LSLearnerItem[] |
Definition at line 171 of file class.ilLSPlayer.php.
References findItemByRefId().
Referenced by getCurrentItemLearningProgress(), and play().
ilLSPlayer::getCurrentItemLearningProgress | ( | ) |
Definition at line 297 of file class.ilLSPlayer.php.
References getCurrentItem().
|
protected |
$direction is either -1 or 1;
Definition at line 207 of file class.ilLSPlayer.php.
References findItemByRefId(), and LSItem\getRefId().
Referenced by buildDefaultControls(), and play().
ilLSPlayer::play | ( | array | $get, |
array | $post = null |
||
) |
Definition at line 52 of file class.ilLSPlayer.php.
References $_GET, $panel, $param, ILIAS\UI\Component\Listing\Workflow\Step\AVAILABLE, buildDefaultControls(), findItemByRefId(), getCurrentItem(), getNextItem(), renderComponentView(), and updateViewState().
|
protected |
Definition at line 283 of file class.ilLSPlayer.php.
Referenced by play().
|
protected |
Definition at line 189 of file class.ilLSPlayer.php.
Referenced by play().
const ilLSPlayer::GS_DATA_LS_CONTENT = 'ls_content' |
Definition at line 23 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\getContentModification().
const ilLSPlayer::GS_DATA_LS_KIOSK_MODE = 'ls_kiosk_mode' |
Definition at line 22 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\isKioskModeEnabled().
const ilLSPlayer::GS_DATA_LS_MAINBARCONTROLS = 'ls_mainbar_controls' |
Definition at line 24 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\getMainBarModification().
const ilLSPlayer::GS_DATA_LS_METABARCONTROLS = 'ls_metabar_controls' |
Definition at line 25 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\getMetaBarModification().
const ilLSPlayer::LSO_CMD_FINISH = 'lsofinish' |
Definition at line 20 of file class.ilLSPlayer.php.
Referenced by LSControlBuilder\exit(), and ilObjLearningSequenceLearnerGUI\play().
const ilLSPlayer::LSO_CMD_GOTO = 'lsogoto' |
Definition at line 18 of file class.ilLSPlayer.php.
Referenced by ilLSLocalDI\init().
const ilLSPlayer::LSO_CMD_NEXT = 'lsonext' |
Definition at line 17 of file class.ilLSPlayer.php.
const ilLSPlayer::LSO_CMD_SUSPEND = 'lsosuspend' |
Definition at line 19 of file class.ilLSPlayer.php.
Referenced by ilObjLearningSequenceLearnerGUI\play().
const ilLSPlayer::PARAM_LSO_COMMAND = 'lsocmd' |
Definition at line 14 of file class.ilLSPlayer.php.
const ilLSPlayer::PARAM_LSO_PARAMETER = 'lsov' |
Definition at line 15 of file class.ilLSPlayer.php.
const ilLSPlayer::RET_EXIT = 'EXIT::' |
Definition at line 27 of file class.ilLSPlayer.php.
Referenced by ilObjLearningSequenceLearnerGUI\play().
const ilLSPlayer::RET_NOITEMS = 'NOITEMS' |
Definition at line 28 of file class.ilLSPlayer.php.
Referenced by ilObjLearningSequenceLearnerGUI\play().