ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Groups are a special kind of input because they are a monoid operation. More...
Public Member Functions | |
getInputs () | |
![]() | |
getValue () | |
Get the value that is displayed in the input client side. More... | |
withValue ($value) | |
Get an input like this with another value displayed on the client side. More... | |
withAdditionalTransformation (Transformation $trafo) | |
Apply a transformation to the content of the input. More... | |
withDedicatedName (string $dedicated_name) | |
Sets an optional dedicated name for this input which is used in the NAME attribute of the rendered input (instead of the auto-generated 'input_x'). More... | |
![]() | |
getCanonicalName () | |
Get the canonical name of the component. More... | |
reduceWith (\Closure $fn) | |
The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More... | |
Groups are a special kind of input because they are a monoid operation.
This means, grouping together inputs must always result in another input of the same type. However, this is not true if we mix up different kinds of inputs, such as form inputs and view-control inputs. Therefore, we need to distinguish between different kinds of groups for all container-specific inputs.
This interface describes a monoid operation on the most general level, which is not something we need at the moment. Instead, we use this interface to recognize these operations and to describe the commonalities between the different input groups.
ILIAS\UI\Component\Input\Group::getInputs | ( | ) |
Referenced by ILIAS\UI\Implementation\Component\Input\ViewControl\Group\getContent(), ILIAS\UI\Implementation\Component\Input\Field\Group\getContent(), ILIAS\UI\Implementation\Component\Input\Field\SwitchableGroup\getInputsWithOperationForKey(), ILIAS\UI\Implementation\Component\Input\Field\Group\getSubComponents(), ILIAS\UI\Implementation\Component\Input\Field\SwitchableGroup\getValue(), ILIAS\UI\Implementation\Component\Input\Field\SwitchableGroup\isClientSideValueOk(), ILIAS\UI\Implementation\Component\Input\Field\Group\isRequired(), ILIAS\UI\Implementation\Component\Input\Field\Section\updateChildrenNestingLevels(), ILIAS\UI\Implementation\Component\Input\Field\Group\withDisabled(), ILIAS\UI\Implementation\Component\Launcher\Inline\withInputs(), ILIAS\UI\Implementation\Component\Input\Field\Group\withOnUpdate(), and ILIAS\UI\Implementation\Component\Input\Field\Group\withRequired().