ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilLearningModuleKioskModeView. More...
Public Member Functions | |
updateGet (State $state, string $command, int $param=null) | |
@inheritDoc More... | |
buildInitialState (State $state) | |
@inheritDoc More... | |
buildControls (State $state, ControlBuilder $builder) | |
@inheritDoc More... | |
updatePost (State $state, string $command, array $post) | |
@inheritDoc More... | |
render (State $state, Factory $factory, URLBuilder $url_builder, array $post=null) | |
@inheritDoc More... | |
![]() | |
__construct (\ilObject $object, \ilCtrl $ctrl, \ilLanguage $lng, \ilAccessHandler $access) | |
![]() | |
buildInitialState (State $empty_state) | |
Build an initial state based on the Provided empty state. More... | |
buildControls (State $state, ControlBuilder $builder) | |
Construct the controls for the view based on the current state. More... | |
updateGet (State $state, string $command, int $parameter=null) | |
Update the state based on the provided command. More... | |
updatePost (State $state, string $command, array $post) | |
Update the state and the object based on the provided command and post-data. More... | |
render (State $state, UI\Factory $factory, URLBuilder $url_builder, array $post=null) | |
Render a state using the ui-factory and URLs from the builder. More... | |
Data Fields | |
const | CMD_TOGGLE_LEARNING_PROGRESS = 'toggleManualLearningProgress' |
Protected Member Functions | |
getObjectClass () | |
@inheritDoc More... | |
setObject (\ilObject $object) | |
@inheritDoc More... | |
initLMService ($current_page) | |
Init learning module presentation service. More... | |
hasPermissionToAccessKioskMode () | |
@inheritDoc More... | |
getMenuEntries () | |
maybeBuildLearningProgressToggleControl (ControlBuilder $builder) | |
toggleLearningProgress (string $command) | |
renderContentStyle () | |
Renders the content style of a ContentPage object into main template. More... | |
getObjectClass () | |
Get the class of objects this view displays. More... | |
setObject (\ilObject $object) | |
Set the object for this view. More... | |
hasPermissionToAccessKioskMode () | |
Check if the global user has permission to access the kiosk mode of the supplied object. More... | |
Protected Attributes | |
$menu_entries = null | |
$lm | |
$lm_pres_service | |
$lm_pres | |
$user | |
$uiFactory | |
$uiRenderer | |
$ctrl | |
$mainTemplate | |
$httpRequest | |
$tabs | |
$messages = [] | |
$current_page_id = 0 | |
$additional_content = [] | |
![]() | |
$ctrl | |
$lng | |
$access | |
Class ilLearningModuleKioskModeView.
Definition at line 19 of file class.ilLearningModuleKioskModeView.php.
ilLearningModuleKioskModeView::buildControls | ( | State | $state, |
ControlBuilder | $builder | ||
) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 155 of file class.ilLearningModuleKioskModeView.php.
References $builder, $DIC, getMenuEntries(), ILIAS\KioskMode\State\getValueFor(), initLMService(), and maybeBuildLearningProgressToggleControl().
ilLearningModuleKioskModeView::buildInitialState | ( | State | $state | ) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 147 of file class.ilLearningModuleKioskModeView.php.
References ILIAS\KioskMode\State\withValueFor().
|
protected |
return
Definition at line 211 of file class.ilLearningModuleKioskModeView.php.
References $menu_entries.
Referenced by buildControls().
|
protected |
@inheritDoc
Reimplemented from ilKioskModeView.
Definition at line 71 of file class.ilLearningModuleKioskModeView.php.
|
protected |
@inheritDoc
Reimplemented from ilKioskModeView.
Definition at line 139 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Init learning module presentation service.
Definition at line 118 of file class.ilLearningModuleKioskModeView.php.
Referenced by buildControls().
|
protected |
ControlBuilder | $builder |
Definition at line 223 of file class.ilLearningModuleKioskModeView.php.
References $builder, ilLPMarks\_hasCompleted(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_MANUAL, and user().
Referenced by buildControls().
ilLearningModuleKioskModeView::render | ( | State | $state, |
Factory | $factory, | ||
URLBuilder | $url_builder, | ||
array | $post = null |
||
) |
@inheritDoc
Definition at line 276 of file class.ilLearningModuleKioskModeView.php.
References $additional_content.
|
protected |
Renders the content style of a ContentPage object into main template.
Definition at line 301 of file class.ilLearningModuleKioskModeView.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
protected |
@inheritDoc
Reimplemented from ilKioskModeView.
Definition at line 79 of file class.ilLearningModuleKioskModeView.php.
|
protected |
string | $command |
Definition at line 246 of file class.ilLearningModuleKioskModeView.php.
References ilLPStatusWrapper\_updateStatus(), ilObjectLP\getInstance(), and ilLPObjSettings\LP_MODE_MANUAL.
Referenced by updateGet().
ilLearningModuleKioskModeView::updateGet | ( | State | $state, |
string | $command, | ||
int | $param = null |
||
) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 96 of file class.ilLearningModuleKioskModeView.php.
References $param, CMD_TOGGLE_LEARNING_PROGRESS, toggleLearningProgress(), and ILIAS\KioskMode\State\withValueFor().
ilLearningModuleKioskModeView::updatePost | ( | State | $state, |
string | $command, | ||
array | $post | ||
) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 268 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 66 of file class.ilLearningModuleKioskModeView.php.
Referenced by render().
|
protected |
Definition at line 49 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 63 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 55 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 28 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 37 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 33 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 52 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 25 of file class.ilLearningModuleKioskModeView.php.
Referenced by getMenuEntries().
|
protected |
Definition at line 61 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 58 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 43 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 46 of file class.ilLearningModuleKioskModeView.php.
|
protected |
Definition at line 40 of file class.ilLearningModuleKioskModeView.php.
const ilLearningModuleKioskModeView::CMD_TOGGLE_LEARNING_PROGRESS = 'toggleManualLearningProgress' |
Definition at line 21 of file class.ilLearningModuleKioskModeView.php.
Referenced by updateGet().