|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Describes how Input-Elements want to interact with posted data. More...
Inheritance diagram for ILIAS\UI\Component\Input\InputData:
Collaboration diagram for ILIAS\UI\Component\Input\InputData: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 ILIAS\UI\Implementation\Component\Input\PostDataFromServerRequest, ILIAS\UI\Implementation\Component\Input\QueryParamsFromServerRequest, ILIAS\UI\Implementation\Component\Input\StackedInputData, DefInputData, 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 ILIAS\UI\Implementation\Component\Input\PostDataFromServerRequest, ILIAS\UI\Implementation\Component\Input\QueryParamsFromServerRequest, ILIAS\UI\Implementation\Component\Input\StackedInputData, DefInputData, and _PWDInputData.
Referenced by ILIAS\UI\Implementation\Component\Input\Field\Checkbox\withInput(), ILIAS\UI\Implementation\Component\Input\Field\OptionalGroup\withInput(), ILIAS\UI\Implementation\Component\Input\Field\Radio\withInput(), ILIAS\UI\Implementation\Component\Input\Field\Tag\withInput(), and ILIAS\UI\Implementation\Component\Input\Input\withInput().
Here is the caller graph for this function:| ILIAS\UI\Component\Input\InputData::has | ( | string | $name | ) |
Check for existence of parameter name in data.