ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Implementation of KioskMode Player. More...
Public Member Functions | |
__construct (protected ilLSLearnerItemsQueries $ls_items, protected LSControlBuilder $control_builder, protected LSUrlBuilder $url_builder, protected ilLSCurriculumBuilder $curriculum_builder, protected ilLSViewFactory $view_factory, protected ilKioskPageRenderer $page_renderer, protected Factory $ui_factory, protected ScreenContext $current_context, protected Refinery\Factory $refinery) | |
play (RequestWrapper $get) | |
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' |
Protected Member Functions | |
getCurrentItem (array $items) | |
getNextAvailableItem (array $items, LSLearnerItem $current_item) | |
updateViewState (ILIAS\KioskMode\State $state, ILIAS\KioskMode\View $view, RequestWrapper $get) | |
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 32 of file class.ilLSPlayer.php.
ilLSPlayer::__construct | ( | protected ilLSLearnerItemsQueries | $ls_items, |
protected LSControlBuilder | $control_builder, | ||
protected LSUrlBuilder | $url_builder, | ||
protected ilLSCurriculumBuilder | $curriculum_builder, | ||
protected ilLSViewFactory | $view_factory, | ||
protected ilKioskPageRenderer | $page_renderer, | ||
protected Factory | $ui_factory, | ||
protected ScreenContext | $current_context, | ||
protected Refinery\Factory | $refinery | ||
) |
Definition at line 47 of file class.ilLSPlayer.php.
|
protected |
Definition at line 265 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 255 of file class.ilLSPlayer.php.
References $ref_id.
Referenced by getCurrentItem(), getNextItem(), and play().
|
protected |
array | LSLearnerItem[] |
Definition at line 182 of file class.ilLSPlayer.php.
References findItemByRefId().
Referenced by getCurrentItemLearningProgress(), and play().
ilLSPlayer::getCurrentItemLearningProgress | ( | ) |
Definition at line 328 of file class.ilLSPlayer.php.
References getCurrentItem().
|
protected |
Definition at line 198 of file class.ilLSPlayer.php.
References LSLearnerItem\getAvailability(), and null.
Referenced by play().
|
protected |
$direction is either -1 or 1;
Definition at line 242 of file class.ilLSPlayer.php.
References findItemByRefId(), and LSItem\getRefId().
Referenced by buildDefaultControls(), and play().
ilLSPlayer::play | ( | RequestWrapper | $get | ) |
Definition at line 60 of file class.ilLSPlayer.php.
References $param, buildDefaultControls(), findItemByRefId(), getCurrentItem(), getNextAvailableItem(), getNextItem(), ILIAS\MetaData\Vocabularies\Controlled\Database\Wrapper\RequestWrapper\has(), null, ILIAS\Repository\refinery(), renderComponentView(), ILIAS\MetaData\Vocabularies\Controlled\Database\Wrapper\RequestWrapper\retrieve(), and updateViewState().
|
protected |
Definition at line 318 of file class.ilLSPlayer.php.
Referenced by play().
|
protected |
Definition at line 226 of file class.ilLSPlayer.php.
References $param, ILIAS\MetaData\Vocabularies\Controlled\Database\Wrapper\RequestWrapper\has(), ILIAS\Repository\refinery(), and ILIAS\MetaData\Vocabularies\Controlled\Database\Wrapper\RequestWrapper\retrieve().
Referenced by play().
const ilLSPlayer::GS_DATA_LS_CONTENT = 'ls_content' |
Definition at line 43 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\getContentModification().
const ilLSPlayer::GS_DATA_LS_KIOSK_MODE = 'ls_kiosk_mode' |
Definition at line 42 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\isKioskModeEnabled().
const ilLSPlayer::GS_DATA_LS_MAINBARCONTROLS = 'ls_mainbar_controls' |
Definition at line 44 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\getMainBarModification().
const ilLSPlayer::GS_DATA_LS_METABARCONTROLS = 'ls_metabar_controls' |
Definition at line 45 of file class.ilLSPlayer.php.
Referenced by ilLSViewLayoutProvider\getPageBuilderDecorator().
const ilLSPlayer::LSO_CMD_FINISH = 'lsofinish' |
Definition at line 40 of file class.ilLSPlayer.php.
Referenced by LSControlBuilder\exit().
const ilLSPlayer::LSO_CMD_GOTO = 'lsogoto' |
Definition at line 38 of file class.ilLSPlayer.php.
Referenced by ilLSLocalDI\init().
const ilLSPlayer::LSO_CMD_NEXT = 'lsonext' |
Definition at line 37 of file class.ilLSPlayer.php.
const ilLSPlayer::LSO_CMD_SUSPEND = 'lsosuspend' |
Definition at line 39 of file class.ilLSPlayer.php.
const ilLSPlayer::PARAM_LSO_COMMAND = 'lsocmd' |
Definition at line 34 of file class.ilLSPlayer.php.
const ilLSPlayer::PARAM_LSO_PARAMETER = 'lsov' |
Definition at line 35 of file class.ilLSPlayer.php.