ILIAS  release_8 Revision v8.23
class.ilDummyKioskModeView.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2021 - Daniel Weise <daniel.weise@concepts-and-training.de> - Extended GPL, see LICENSE */
4 
10 
12 {
13  protected function getObjectClass(): string
14  {
15  return'ilObject';
16  }
17 
18  protected function setObject(ilObject $object)
19  {
20  }
21 
22  protected function hasPermissionToAccessKioskMode(): bool
23  {
24  return true;
25  }
26 
27  public function buildInitialState(State $empty_state): State
28  {
29  return new State();
30  }
31 
32  public function buildControls(State $state, ControlBuilder $builder)
33  {
34  }
35 
36  public function updateGet(
37  State $state,
38  string $command,
39  int $parameter = null
40  ): State {
41  return new State();
42  }
43 
44  public function updatePost(State $state, string $command, array $post): State
45  {
46  return new State();
47  }
48 
49  public function render(
50  State $state,
52  URLBuilder $url_builder,
53  array $post = null
54  ): Component {
56  }
57 }
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:12
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.
render(State $state, Factory $factory, URLBuilder $url_builder, array $post=null)
The URLBuilder allows views to get links that are used somewhere inline in the content.
Definition: URLBuilder.php:15
buildInitialState(State $empty_state)
Build an initial state based on the Provided empty state.
Build controls for the view.
$post
Definition: ltitoken.php:49
$factory
Definition: metadata.php:75