|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeView (e.g. More...
Inheritance diagram for ilKioskModeView:
Collaboration diagram for ilKioskModeView:Public Member Functions | |
| __construct (ilObject $object, ilCtrl $ctrl, ilLanguage $lng, ilAccessHandler $access) | |
Public Member Functions inherited from ILIAS\KioskMode\View | |
| 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 | |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilAccessHandler | $access |
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeView (e.g.
ilTestKioskModeView).
Definition at line 11 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 23 of file class.ilKioskModeView.php.
References $access, $ctrl, $lng, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), getObjectClass(), hasPermissionToAccessKioskMode(), ILIAS\Repository\lng(), and setObject().
Here is the call graph for this function:
|
abstractprotected |
Get the class of objects this view displays.
Referenced by __construct().
Here is the caller graph for this function:
|
abstractprotected |
Check if the global user has permission to access the kiosk mode of the supplied object.
Referenced by __construct().
Here is the caller graph for this function:
|
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...
Referenced by __construct(), ilFileKioskModeView\getObjectClass(), and ilLearningModuleKioskModeView\getObjectClass().
Here is the caller graph for this function:
|
protected |
Definition at line 15 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 14 of file class.ilKioskModeView.php.
Referenced by __construct().