ILIAS  release_8 Revision v8.24
InputInternal.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
32interface InputInternal extends Input
33{
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);
62
66 public function getError(): ?string;
67}
ilErrorHandling $error
Definition: class.ilias.php:55
A result encapsulates a value or an error and simplifies the handling of those.
Definition: Result.php:15
This describes commonalities between all inputs.
Definition: Input.php:49
Describes how Input-Elements want to interact with posted data.
Definition: InputData.php:30
Describes the interface of inputs that is used for internal processing of data from the client.
withError(string $error)
Get an input like this one, with a different error.
getName()
The name of the input as used in HTML.
withInput(InputData $input)
Get an input like this with input from post data.
withNameFrom(NameSource $source)
Get an input like this one, with a different name.
getContent()
Get the current content of the input.
getError()
The error of the input as used in HTML.
Describes a source for input names.
Definition: NameSource.php:27
$source
Definition: metadata.php:93
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...