ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Input.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Input;
22 
26 
46 interface Input extends Component
47 {
53  public function getValue();
54 
63  public function withValue($value);
64 
69  public function withAdditionalTransformation(Transformation $trafo);
70 
87  public function withDedicatedName(string $dedicated_name): self;
88 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withAdditionalTransformation(Transformation $trafo)
Apply a transformation to the content of the input.
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.
A transformation is a function from one datatype to another.
This describes commonalities between all inputs.
Definition: Input.php:46
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...