ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Input.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25use InvalidArgumentException;
26
46interface Input extends Component
47{
53 public function getValue();
54
63 public function withValue($value);
64
70
87 public function withDedicatedName(string $dedicated_name): self;
88}
A transformation is a function from one datatype to another.
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This describes commonalities between all inputs.
Definition: Input.php:47
withDedicatedName(string $dedicated_name)
Sets an optional dedicated name for this input which is used in the NAME attribute of the rendered in...
getValue()
Get the value that is displayed in the input client side.
withValue($value)
Get an input like this with another value displayed on the client side.
withAdditionalTransformation(Transformation $trafo)
Apply a transformation to the content of the input.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...