ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeView (e.g. More...
Public Member Functions | |
__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... | |
Protected Member Functions | |
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 | |
$ctrl | |
$lng | |
$access | |
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeView (e.g.
ilTestKioskModeView).
Definition at line 8 of file class.ilKioskModeView.php.
|
final |
LogicException if an object was provided that does not fit the module this view belongs to.
RuntimeException if user is not allowed to access the kiosk mode for the supplied object.
Definition at line 31 of file class.ilKioskModeView.php.
References $access, $ctrl, $lng, getObjectClass(), hasPermissionToAccessKioskMode(), and setObject().
|
abstractprotected |
Get the class of objects this view displays.
Reimplemented in ilContentPageKioskModeView, and ilLearningModuleKioskModeView.
Referenced by __construct().
|
abstractprotected |
Check if the global user has permission to access the kiosk mode of the supplied object.
Reimplemented in ilContentPageKioskModeView, and ilLearningModuleKioskModeView.
Referenced by __construct().
|
abstractprotected |
Set the object for this view.
This makes it possible to use an appropriately typehinted member variable to allow for static code analysis. Sadly PHP has no generics...
Reimplemented in ilLearningModuleKioskModeView.
Referenced by __construct().
|
protected |
Definition at line 23 of file class.ilKioskModeView.php.
Referenced by __construct().
|
protected |
Definition at line 13 of file class.ilKioskModeView.php.
Referenced by __construct().
|
protected |
Definition at line 18 of file class.ilKioskModeView.php.
Referenced by __construct().