ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 }
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeVie...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
updatePost(State $state, string $command, array $post)
Update the state and the object based on the provided command and post-data.
Keeps the state of a view in a simple stringly type key-value store.
Definition: State.php:26
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
updateGet(State $state, string $command, ?int $parameter=null)
Update the state based on the provided command.
This is how the factory for UI elements looks.
Definition: Factory.php:37
buildControls(State $state, ControlBuilder $builder)
Construct the controls for the view based on the current state.
The URLBuilder allows views to get links that are used somewhere inline in the content.
Definition: URLBuilder.php:29
buildInitialState(State $empty_state)
Build an initial state based on the Provided empty state.
Build controls for the view.
$post
Definition: ltitoken.php:46
render(State $state, Factory $factory, URLBuilder $url_builder, ?array $post=null)