ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Additional Inherited Members | ||||
![]() | ||||
__construct (DataFactory $data_factory, Refinery $refinery, protected string $label, protected ?string $byline=null,) | ||||
withInput (InputData $input) | ||||
@inheritDoc More... | ||||
getLabel () | ||||
Get the label of the input. More... | ||||
withLabel (string $label) | ||||
Get an input like this, but with a replaced label.
| ||||
getByline () | ||||
Get the byline of the input. More... | ||||
withByline (string $byline) | ||||
Get an input like this, but with an additional/replaced label.
| ||||
isRequired () | ||||
Is this field required? More... | ||||
withRequired (bool $is_required, ?Constraint $requirement_constraint=null) | ||||
Get an input like this, but set the field to be required (or not).With the optional $required_constraint, you can REPLACE the default constraint that is checked if $is_required is true (see getConstraintForRequirement() on Input/Field implementations). A custom constraint SHOULD be explained in the byline of the input. More... | ||||
isDisabled () | ||||
Is this input disabled? More... | ||||
withDisabled (bool $is_disabled) | ||||
Get an input like this, but set it to a disabled state.
| ||||
withOnUpdate (Signal $signal) | ||||
Trigger a signal of another component on update.
| ||||
appendOnUpdate (Signal $signal) | ||||
Get a component like this, triggering a signal of another component on update.In contrast to withOnUpdate, the signal is appended to existing signals for the on update event.
| ||||
![]() | ||||
__construct (protected DataFactory $data_factory, protected Refinery $refinery,) | ||||
Input constructor. More... | ||||
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... | ||||
getError () | ||||
The error of the input as used in HTML. More... | ||||
withError (string $error) | ||||
Get an input like this one, with a different error. More... | ||||
withAdditionalTransformation (Transformation $trafo) | ||||
Apply a transformation to the current or future content. More... | ||||
getDedicatedName () | ||||
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').If the same dedicated name is used more than once, a counter will be added to the name.The dedicated name is inherited by all child inputs (e.g. for groups or sections) and added to their name in a path-like format. Example: All children of an input named 'user' will be named 'user/input_x' or - if they have a dedicated name of their own - will be named 'user/address'. This path will be extended for each level of input that has a dedicated name, e.g. 'user/address/street'.
| ||||
getName () | ||||
The name of the input as used in HTML. More... | ||||
withNameFrom (NameSource $source, ?string $parent_name=null) | ||||
withInput (InputData $input) | ||||
Collects the input, applies trafos on the input and returns a new input reflecting the data that was put in. More... | ||||
getContent () | ||||
Get the current content of the input. More... | ||||
![]() | ||||
withNameFrom (NameSource $source) | ||||
Get an input like this one, with a different name. More... | ||||
getName () | ||||
The name of the input as used in HTML. More... | ||||
withInput (InputData $input) | ||||
Get an input like this with input from post data. More... | ||||
getContent () | ||||
Get the current content of the input. More... | ||||
withError (string $error) | ||||
Get an input like this one, with a different error. More... | ||||
getError () | ||||
The error of the input as used in HTML. More... | ||||
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... | ||||
![]() | ||||
getLabel () | ||||
Get the label of the input. More... | ||||
withLabel (string $label) | ||||
Get an input like this, but with a replaced label. More... | ||||
getByline () | ||||
Get the byline of the input. More... | ||||
withByline (string $byline) | ||||
Get an input like this, but with an additional/replaced label. More... | ||||
isRequired () | ||||
Is this field required? More... | ||||
withRequired (bool $is_required, ?Constraint $requirement_constraint=null) | ||||
Get an input like this, but set the field to be required (or not). More... | ||||
isDisabled () | ||||
Is this input disabled? More... | ||||
withDisabled (bool $is_disabled) | ||||
Get an input like this, but set it to a disabled state. More... | ||||
getUpdateOnLoadCode () | ||||
Get update code. More... | ||||
![]() | ||||
withOnLoadCode (Closure $binder) | ||||
withAdditionalOnLoadCode (Closure $binder) | ||||
Add some onload-code to the component instead of replacing the existing one. More... | ||||
getOnLoadCode () | ||||
Get the currently bound on load code. More... | ||||
withOnUpdate (Signal $signal) | ||||
Trigger a signal of another component on update. More... | ||||
appendOnUpdate (Signal $signal) | ||||
Get a component like this, triggering a signal of another component on update. More... | ||||
![]() | ||||
withResetTriggeredSignals () | ||||
Get a component like this but reset any triggered signals of other components. More... | ||||
getTriggeredSignals () | ||||
Get all triggered signals of this component. More... | ||||
![]() | ||||
getConstraintForRequirement () | ||||
This may return a constraint that will be checked first if the field is required. More... | ||||
applyOperationsTo ($res) | ||||
@inheritDoc More... | ||||
getOperations () | ||||
@inheritDoc More... | ||||
![]() | ||||
isClientSideValueOk ($value) | ||||
Check if the value is good to be displayed client side. More... | ||||
setAdditionalTransformation (Transformation $trafo) | ||||
Apply a transformation to the current or future content. More... | ||||
applyOperationsTo ($res) | ||||
Applies the operations in this instance to the value. More... | ||||
getOperations () | ||||
Get the operations that should be performed on the input. More... | ||||
![]() | ||||
bool | $is_disabled = false | |||
bool | $is_required = false | |||
Constraint | $requirement_constraint = null | |||
![]() | ||||
$value = null | ||||
string | $error = null | |||
This is an error on the input as displayed client side. More... | ||||
string | $dedicated_name = null | |||
Result | $content = null | |||
This is the current content of the input in the abstraction. More... | ||||
array | $operations = [] | |||
Definition at line 39 of file GroupInputTest.php.