ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Implementation of KioskMode Player. More...
Public Member Functions | |
__construct (int $lso_ref_id, string $lso_title, int $usr_id, array $items, ilLSStateDB $state_db, LSControlBuilder $control_builder, LSUrlBuilder $url_builder, ilLSCurriculumBuilder $curriculum_builder, ilLSViewFactory $view_factory, ilKioskPageRenderer $renderer, ILIAS\UI\Factory $ui_factory) | |
render (array $get, array $post=null) | |
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' |
Protected Member Functions | |
storeState (ILIAS\KioskMode\State $state, int $state_item_ref_id, int $current_item_ref_id) | |
updateViewState (ILIAS\KioskMode\State $state, ILIAS\KioskMode\View $view, array $get, array $post=null) | |
getNextItem (LSLearnerItem $current_item, int $direction) | |
$direction is either -1 or 1; More... | |
findItemByRefId (int $ref_id) | |
buildDefaultControls (LSControlBuilder $control_builder, LSLearnerItem $item, int $item_position) | |
renderComponentView ( $state, ILIAS\KioskMode\View $view) | |
Implementation of KioskMode Player.
Definition at line 13 of file class.ilLSPlayer.php.
ilLSPlayer::__construct | ( | int | $lso_ref_id, |
string | $lso_title, | ||
int | $usr_id, | ||
array | $items, | ||
ilLSStateDB | $state_db, | ||
LSControlBuilder | $control_builder, | ||
LSUrlBuilder | $url_builder, | ||
ilLSCurriculumBuilder | $curriculum_builder, | ||
ilLSViewFactory | $view_factory, | ||
ilKioskPageRenderer | $renderer, | ||
ILIAS\UI\Factory | $ui_factory | ||
) |
Definition at line 23 of file class.ilLSPlayer.php.
|
protected |
Definition at line 208 of file class.ilLSPlayer.php.
References LSControlBuilder\exit(), LSControlBuilder\getExitControl(), LSControlBuilder\getNextControl(), getNextItem(), LSControlBuilder\getPreviousControl(), LSControlBuilder\next(), and LSControlBuilder\previous().
Referenced by render().
|
protected |
Definition at line 198 of file class.ilLSPlayer.php.
References $index.
Referenced by getNextItem(), and render().
|
protected |
$direction is either -1 or 1;
Definition at line 185 of file class.ilLSPlayer.php.
References findItemByRefId(), and LSItem\getRefId().
Referenced by buildDefaultControls(), and render().
ilLSPlayer::render | ( | array | $get, |
array | $post = null |
||
) |
Definition at line 49 of file class.ilLSPlayer.php.
References $_GET, $post, $state, ILIAS\UI\Component\Listing\Workflow\Step\AVAILABLE, buildDefaultControls(), findItemByRefId(), getNextItem(), renderComponentView(), storeState(), and updateViewState().
|
protected |
Definition at line 260 of file class.ilLSPlayer.php.
References $state.
Referenced by render().
|
protected |
Definition at line 152 of file class.ilLSPlayer.php.
Referenced by render().
|
protected |
Definition at line 166 of file class.ilLSPlayer.php.
Referenced by render().
const ilLSPlayer::LSO_CMD_FINISH = 'lsofinish' |
Definition at line 21 of file class.ilLSPlayer.php.
Referenced by LSControlBuilder\exit().
const ilLSPlayer::LSO_CMD_GOTO = 'lsogoto' |
Definition at line 19 of file class.ilLSPlayer.php.
Referenced by ilObjLearningSequence\getCurriculumBuilder().
const ilLSPlayer::LSO_CMD_NEXT = 'lsonext' |
Definition at line 18 of file class.ilLSPlayer.php.
const ilLSPlayer::LSO_CMD_SUSPEND = 'lsosuspend' |
Definition at line 20 of file class.ilLSPlayer.php.
const ilLSPlayer::PARAM_LSO_COMMAND = 'lsocmd' |
Definition at line 15 of file class.ilLSPlayer.php.
const ilLSPlayer::PARAM_LSO_PARAMETER = 'lsov' |
Definition at line 16 of file class.ilLSPlayer.php.