ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Container.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Component\Input\Container
;
22
23
use
ILIAS\UI\Component\Component
;
24
use
ILIAS\Refinery\Transformation
;
25
use
Psr\Http\Message\ServerRequestInterface
;
26
use
ILIAS\UI\Component\Input\Input
;
27
31
interface
Container
extends
Component
32
{
38
public
function
getInputs
(): array;
39
45
public
function
withRequest
(ServerRequestInterface $request):
self
;
46
50
public
function
withAdditionalTransformation
(
Transformation
$trafo):
self
;
51
58
public
function
getData
();
59
63
public
function
getError
(): ?string;
64
78
public
function
withDedicatedName
(
string
$dedicated_name):
self
;
79
}
ILIAS\UI\Component\Input\Container\Container\withAdditionalTransformation
withAdditionalTransformation(Transformation $trafo)
Apply a transformation to the data of the form.
ILIAS\UI\Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Component
Transformation
ILIAS\UI\Component\Input\Container\Container\withRequest
withRequest(ServerRequestInterface $request)
Get a form like this where data from the request is attached.
Input
ServerRequestInterface
ILIAS\UI\Component\Input\Container\Container\getError
getError()
ILIAS\UI\Component\Input\Container\Container\withDedicatedName
withDedicatedName(string $dedicated_name)
Sets an optional dedicated name for this form which adds a NAME attribute to the form's HTML (otherwi...
ILIAS\UI\Component\Input\Container
Definition:
Container.php:21
ILIAS\UI\Component\Input\Container\Container\getData
getData()
Get the data in the form if all inputs are ok, where the transformation is applied if one was added...
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ILIAS\UI\Component\Input\Container\Container
This describes commonalities between all Containers for Inputs, such as Forms.
Definition:
Container.php:31
ILIAS\UI\Component\Input\Container\Container\getInputs
getInputs()
Get the inputs contained in the container.
src
UI
Component
Input
Container
Container.php
Generated on Tue Apr 1 2025 22:02:44 for ILIAS by
1.8.13 (using
Doxyfile
)