ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
InputInternal.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Input
;
22
23
use
ILIAS\UI\Component\Input\InputData
;
24
use
ILIAS\UI\Component\Input\Input
;
25
use
ILIAS\Data\Result
;
26
use
ILIAS\UI\Implementation\Component\Input\NameSource
;
27
32
interface
InputInternal
extends
Input
33
{
39
public
function
withNameFrom
(
NameSource
$source);
40
44
public
function
getName
(): ?string;
45
51
public
function
withInput
(
InputData
$input);
52
56
public
function
getContent
():
Result
;
57
61
public
function
withError
(
string
$error
):
self
;
62
66
public
function
getError
(): ?string;
67
}
ILIAS\Data\Result
Definition:
Error.php:21
ILIAS\UI\Implementation\Component\Input\InputInternal\getContent
getContent()
Get the current content of the input.
ILIAS\UI\Component\Input\InputData
Describes how Input-Elements want to interact with posted data.
Definition:
InputData.php:29
InputData
Input
ILIAS\UI\Implementation\Component\Input\InputInternal\getName
getName()
The name of the input as used in HTML.
NameSource
ILIAS\UI\Implementation\Component\Input\InputInternal
Describes the interface of inputs that is used for internal processing of data from the client...
Definition:
InputInternal.php:32
ILIAS\UI\Implementation\Component\Input\Input\$error
string $error
This is an error on the input as displayed client side.
Definition:
Input.php:57
ILIAS\UI\Implementation\Component\Input\InputInternal\withError
withError(string $error)
Get an input like this one, with a different error.
ILIAS\UI\Component\Input\Input
This describes commonalities between all inputs.
Definition:
Input.php:46
WrapperInterface
ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom
withNameFrom(NameSource $source)
Get an input like this one, with a different name.
ILIAS\UI\Implementation\Component\Input\NameSource
Describes a source for input names.
Definition:
NameSource.php:26
ILIAS\UI\Implementation\Component\Input
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ArrayInputData.php:21
ILIAS\UI\Implementation\Component\Input\InputInternal\withInput
withInput(InputData $input)
Get an input like this with input from post data.
ILIAS\UI\Implementation\Component\Input\InputInternal\getError
getError()
The error of the input as used in HTML.
components
ILIAS
UI
src
Implementation
Component
Input
InputInternal.php
Generated on Sun Aug 31 2025 23:04:11 for ILIAS by
1.8.13 (using
Doxyfile
)