ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
31 interface Input
32 {
38  public function getValue();
39 
40 
50  public function withValue($value);
51 
52 
60  public function withAdditionalTransformation(Transformation $trafo);
61 }
withAdditionalTransformation(Transformation $trafo)
Apply a transformation to the content of the input.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
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.
getValue()
Get the value that is displayed in the input client side.