ILIAS  release_8 Revision v8.24
Input.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
25use InvalidArgumentException;
26
27use ILIAS\UI\Component\Input\Field\Input as LegacyFieldInput;
28
48interface Input extends Component, LegacyFieldInput
49{
55 public function getValue();
56
65 public function withValue($value);
66
72
89 public function withDedicatedName(string $dedicated_name): self;
90}
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 is a legacy support of Component\Input\Field\Input that has been moved to Component\Input\Contai...
Definition: Input.php:32
This describes commonalities between all inputs.
Definition: Input.php:49
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...