ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
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
5
namespace
ILIAS\UI\Component\Input\Field
;
6
7
use
ILIAS\UI\Component\Component
;
8
use
ILIAS\Refinery\Transformation
;
9
use
ILIAS\UI\Component\JavaScriptBindable
;
10
use
ILIAS\UI\Component\OnUpdateable
;
11
31
interface
Input
extends
Component
,
JavaScriptBindable
,
OnUpdateable
32
{
33
39
public
function
getLabel
();
40
41
49
public
function
withLabel
($label);
50
51
57
public
function
getByline
();
58
59
67
public
function
withByline
($byline);
68
69
75
public
function
isRequired
();
76
77
85
public
function
withRequired
($is_required);
86
87
93
public
function
isDisabled
();
94
95
103
public
function
withDisabled
($is_disabled);
104
105
111
public
function
getValue
();
112
113
123
public
function
withValue
($value);
124
125
131
public
function
getError
();
132
133
141
public
function
withError
($error);
142
143
151
public
function
withAdditionalTransformation
(
Transformation
$trafo);
152
153
166
public
function
getUpdateOnLoadCode
() : \Closure;
167
}
ILIAS\UI\Component\Input\Field\Input\isDisabled
isDisabled()
Is this input disabled?
JavaScriptBindable
ILIAS\UI\Component\Input\Field\Input\withAdditionalTransformation
withAdditionalTransformation(Transformation $trafo)
Apply a transformation to the content of the input.
ILIAS\UI\Component\Input\Field\Input\withError
withError($error)
Get an input like this one, with a different error.
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:12
ILIAS\UI\Component\Input\Field\Input\withByline
withByline($byline)
Get an input like this, but with an additional/replaced label.
Component
Transformation
ILIAS\UI\Component\Input\Field
Definition:
Checkbox.php:6
ILIAS\UI\Component\Input\Field\Input\withLabel
withLabel($label)
Get an input like this, but with a replaced label.
ILIAS\UI\Component\OnUpdateable
Definition:
OnUpdateable.php:11
ILIAS\UI\Component\Input\Field\Input\withDisabled
withDisabled($is_disabled)
Get an input like this, but set it to a disabled state.
Input
ILIAS\UI\Component\Input\Field\Input\isRequired
isRequired()
Is this field required?
ILIAS\UI\Component\Input\Field\Input\withValue
withValue($value)
Get an input like this with another value displayed on the client side.
ILIAS\UI\Component\Input\Field\Input\getError
getError()
The error of the input as used in HTML.
ILIAS\UI\Component\Input\Field\Input\getByline
getByline()
Get the byline of the input.
OnUpdateable
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:17
ILIAS\UI\Component\Input\Field\Input\getLabel
getLabel()
Get the label of the input.
ILIAS\UI\Component\Input\Field\Input\withRequired
withRequired($is_required)
Get an input like this, but set the field to be required (or not).
ILIAS\UI\Component\Input\Field\Input\getUpdateOnLoadCode
getUpdateOnLoadCode()
Get update code.
ILIAS\UI\Component\Input\Field\Input\getValue
getValue()
Get the value that is displayed in the input client side.
src
UI
Component
Input
Field
Input.php
Generated on Sun Apr 27 2025 20:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)