ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
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
use
ILIAS\UI\Component\Input\InputData
;
28
32
interface
Container
extends
Component
33
{
39
public
function
getInputs
(): array;
40
48
public
function
withRequest
(
ServerRequestInterface
$request):
self
;
49
58
public
function
withInput
(
InputData
$input_data):
self
;
59
63
public
function
withAdditionalTransformation
(
Transformation
$trafo):
self
;
64
71
public
function
getData
();
72
76
public
function
getError
(): ?string;
77
91
public
function
withDedicatedName
(
string
$dedicated_name):
self
;
92
}
ILIAS\UI\Component\Input\Container\Container\withAdditionalTransformation
withAdditionalTransformation(Transformation $trafo)
Apply a transformation to the data of the form.
ILIAS\UI\Component\Input\InputData
Describes how Input-Elements want to interact with posted data.
Definition:
InputData.php:29
ILIAS\UI\Component
InputData
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Component\Input\Container\Container\withInput
withInput(InputData $input_data)
Get a form like this where some input data is attached.
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:32
ILIAS\UI\Component\Input\Container\Container\getInputs
getInputs()
Get the inputs contained in the container.
components
ILIAS
UI
src
Component
Input
Container
Container.php
Generated on Mon Sep 1 2025 23:02:34 for ILIAS by
1.8.13 (using
Doxyfile
)