ILIAS  release_7 Revision v7.30-3-g800a261c036
Input.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
11
31interface Input
32{
38 public function getValue();
39
40
50 public function withValue($value);
51
52
61}
An exception for terminatinating execution or to throw for unit testing.
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:14
This describes commonalities between all inputs.
Definition: Input.php:32
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.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.