ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilDummyKioskModeView.php
Go to the documentation of this file.
1<?php
2
24
26{
27 protected function getObjectClass(): string
28 {
29 return'ilObject';
30 }
31
32 protected function setObject(ilObject $object)
33 {
34 }
35
36 protected function hasPermissionToAccessKioskMode(): bool
37 {
38 return true;
39 }
40
41 public function buildInitialState(State $empty_state): State
42 {
43 return new State();
44 }
45
46 public function buildControls(State $state, ControlBuilder $builder)
47 {
48 }
49
50 public function updateGet(
51 State $state,
52 string $command,
53 ?int $parameter = null
54 ): State {
55 return new State();
56 }
57
58 public function updatePost(State $state, string $command, array $post): State
59 {
60 return new State();
61 }
62
63 public function render(
64 State $state,
65 Factory $factory,
66 URLBuilder $url_builder,
67 ?array $post = null
68 ): Component {
70 }
71}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Keeps the state of a view in a simple stringly type key-value store.
Definition: State.php:27
updatePost(State $state, string $command, array $post)
Update the state and the object based on the provided command and post-data.
setObject(ilObject $object)
Set the object for this view.
buildControls(State $state, ControlBuilder $builder)
Construct the controls for the view based on the current state.
updateGet(State $state, string $command, ?int $parameter=null)
Update the state based on the provided command.
getObjectClass()
Get the class of objects this view displays.
render(State $state, Factory $factory, URLBuilder $url_builder, ?array $post=null)
hasPermissionToAccessKioskMode()
Check if the global user has permission to access the kiosk mode of the supplied object.
buildInitialState(State $empty_state)
Build an initial state based on the Provided empty state.
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeVie...
Class ilObject Basic functions for all objects.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Build controls for the view.
The URLBuilder allows views to get links that are used somewhere inline in the content.
Definition: URLBuilder.php:30
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This is how the factory for UI elements looks.
Definition: Factory.php:38
$post
Definition: ltitoken.php:46
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.