ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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
FormInput.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
15
interface
FormInput
extends
Component
,
Input
,
JavaScriptBindable
,
OnUpdateable
16
{
22
public
function
getLabel
();
23
31
public
function
withLabel
($label);
32
38
public
function
getByline
();
39
47
public
function
withByline
($byline);
48
54
public
function
isRequired
();
55
63
public
function
withRequired
($is_required);
64
70
public
function
isDisabled
();
71
79
public
function
withDisabled
($is_disabled);
80
86
public
function
getError
();
87
95
public
function
withError
($error);
96
109
public
function
getUpdateOnLoadCode
() : \Closure;
110
}
ILIAS\UI\Component\Input\Field\FormInput\withDisabled
withDisabled($is_disabled)
Get an input like this, but set it to a disabled state.
JavaScriptBindable
ILIAS\UI\Component\Input\Field\FormInput\isRequired
isRequired()
Is this field required?
ILIAS\UI\Component\Input\Field\FormInput\withByline
withByline($byline)
Get an input like this, but with an additional/replaced label.
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:12
Component
ILIAS\UI\Component\Input\Field\FormInput\withRequired
withRequired($is_required)
Get an input like this, but set the field to be required (or not).
ILIAS\UI\Component\Input\Field\FormInput\withLabel
withLabel($label)
Get an input like this, but with a replaced label.
Transformation
ILIAS\UI\Component\Input\Field\FormInput
This describes inputs that can be used in forms.
Definition:
FormInput.php:15
ILIAS\UI\Component\Input\Field
Definition:
Checkbox.php:6
ILIAS\UI\Component\Input\Field\FormInput\getByline
getByline()
Get the byline of the input.
ILIAS\UI\Component\OnUpdateable
Definition:
OnUpdateable.php:11
Input
ILIAS\UI\Component\Input\Field\FormInput\isDisabled
isDisabled()
Is this input disabled?
ILIAS\UI\Component\Input\Field\FormInput\getLabel
getLabel()
Get the label of the input.
ILIAS\UI\Component\Input\Field\FormInput\withError
withError($error)
Get an input like this one, with a different error.
ILIAS\UI\Component\Input\Field\FormInput\getError
getError()
The error of the input as used in HTML.
OnUpdateable
ILIAS\UI\Component\Input\Field\FormInput\getUpdateOnLoadCode
getUpdateOnLoadCode()
Get update code.
src
UI
Component
Input
Field
FormInput.php
Generated on Sun Apr 6 2025 21:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)