ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilContentPageKioskModeView. More...
Public Member Functions | |
buildInitialState (State $empty_state) | |
@inheritDoc More... | |
buildControls (State $state, ControlBuilder $builder) | |
@inheritDoc More... | |
updateGet (State $state, string $command, int $param=null) | |
@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_LP_TO_COMPLETED = 'lp_completed' |
const | CMD_LP_TO_INCOMPLETE = 'lp_incomplete' |
Protected Member Functions | |
getObjectClass () | |
@inheritDoc More... | |
setObject (ilObject $object) | |
@inheritDoc More... | |
hasPermissionToAccessKioskMode () | |
@inheritDoc More... | |
buildLearningProgressToggleControl (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 | |
$contentPageObject | |
$user | |
$uiFactory | |
$uiRenderer | |
$ctrl | |
$mainTemplate | |
$httpRequest | |
$tabs | |
$messages = [] | |
![]() | |
$ctrl | |
$lng | |
$access | |
Class ilContentPageKioskModeView.
Definition at line 16 of file class.ilContentPageKioskModeView.php.
ilContentPageKioskModeView::buildControls | ( | State | $state, |
ControlBuilder | $builder | ||
) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 85 of file class.ilContentPageKioskModeView.php.
References buildLearningProgressToggleControl().
ilContentPageKioskModeView::buildInitialState | ( | State | $empty_state | ) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 77 of file class.ilContentPageKioskModeView.php.
|
protected |
ControlBuilder | $builder |
Definition at line 93 of file class.ilContentPageKioskModeView.php.
References $builder, ilLPMarks\_hasCompleted(), CMD_LP_TO_COMPLETED, CMD_LP_TO_INCOMPLETE, ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_MANUAL, and user().
Referenced by buildControls().
|
protected |
@inheritDoc
Reimplemented from ilKioskModeView.
Definition at line 43 of file class.ilContentPageKioskModeView.php.
|
protected |
@inheritDoc
Reimplemented from ilKioskModeView.
Definition at line 69 of file class.ilContentPageKioskModeView.php.
ilContentPageKioskModeView::render | ( | State | $state, |
Factory | $factory, | ||
URLBuilder | $url_builder, | ||
array | $post = null |
||
) |
@inheritDoc
Definition at line 165 of file class.ilContentPageKioskModeView.php.
|
protected |
Renders the content style of a ContentPage object into main template.
Definition at line 203 of file class.ilContentPageKioskModeView.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
protected |
@inheritDoc
Definition at line 51 of file class.ilContentPageKioskModeView.php.
|
protected |
string | $command |
Definition at line 128 of file class.ilContentPageKioskModeView.php.
References ilLPStatusWrapper\_updateStatus(), CMD_LP_TO_COMPLETED, ilObjectLP\getInstance(), and ilLPObjSettings\LP_MODE_MANUAL.
Referenced by updateGet().
ilContentPageKioskModeView::updateGet | ( | State | $state, |
string | $command, | ||
int | $param = null |
||
) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 118 of file class.ilContentPageKioskModeView.php.
References toggleLearningProgress().
ilContentPageKioskModeView::updatePost | ( | State | $state, |
string | $command, | ||
array | $post | ||
) |
@inheritDoc
Implements ILIAS\KioskMode\View.
Definition at line 157 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 22 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 30 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 34 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 32 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 38 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 36 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 26 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 28 of file class.ilContentPageKioskModeView.php.
|
protected |
Definition at line 24 of file class.ilContentPageKioskModeView.php.
const ilContentPageKioskModeView::CMD_LP_TO_COMPLETED = 'lp_completed' |
Definition at line 18 of file class.ilContentPageKioskModeView.php.
Referenced by buildLearningProgressToggleControl(), and toggleLearningProgress().
const ilContentPageKioskModeView::CMD_LP_TO_INCOMPLETE = 'lp_incomplete' |
Definition at line 19 of file class.ilContentPageKioskModeView.php.
Referenced by buildLearningProgressToggleControl().