ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Describes how Input-Elements want to interact with posted data. More...
Public Member Functions | |
get (string $name) | |
Get a named value from the data. More... | |
getOr (string $name, $default) | |
Get a named value from the data and fallback to default if that name does not exist. More... | |
has (string $name) | |
Check for existence of parameter name in data. More... | |
Describes how Input-Elements want to interact with posted data.
This basically is a glorified array.
Definition at line 29 of file InputData.php.
ILIAS\UI\Component\Input\InputData::get | ( | string | $name | ) |
Get a named value from the data.
LogicException | if name is not in data |
Implemented in DefInputData, ILIAS\UI\Implementation\Component\Input\StackedInputData, ILIAS\UI\Implementation\Component\Input\PostDataFromServerRequest, ILIAS\UI\Implementation\Component\Input\QueryParamsFromServerRequest, and _PWDInputData.
ILIAS\UI\Component\Input\InputData::getOr | ( | string | $name, |
$default | |||
) |
Get a named value from the data and fallback to default if that name does not exist.
mixed | $default |
Implemented in DefInputData, ILIAS\UI\Implementation\Component\Input\PostDataFromServerRequest, ILIAS\UI\Implementation\Component\Input\QueryParamsFromServerRequest, ILIAS\UI\Implementation\Component\Input\StackedInputData, and _PWDInputData.
Referenced by ILIAS\UI\Implementation\Component\Input\DynamicInputDataIterator\__construct(), ILIAS\UI\Implementation\Component\Input\Field\SwitchableGroup\getValue(), ILIAS\UI\Implementation\Component\Input\Field\Checkbox\withInput(), ILIAS\UI\Implementation\Component\Input\Field\Radio\withInput(), ILIAS\UI\Implementation\Component\Input\Field\OptionalGroup\withInput(), ILIAS\UI\Implementation\Component\Input\Input\withInput(), and ILIAS\UI\Implementation\Component\Input\Field\Tag\withInput().
ILIAS\UI\Component\Input\InputData::has | ( | string | $name | ) |
Check for existence of parameter name in data.