|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for Input11:
Collaboration diagram for Input11:Additional Inherited Members | ||||
Public Member Functions inherited from ILIAS\UI\Implementation\Component\Input\Field\FormInput | ||||
| __construct (DataFactory $data_factory, Refinery $refinery, protected string $label, protected ?string $byline=null,) | ||||
| withInput (InputData $input) | ||||
| 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.
| ||||
Public Member Functions inherited from ILIAS\UI\Implementation\Component\Input\Input | ||||
| __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... | ||||
Public Member Functions inherited from ILIAS\UI\Implementation\Component\Input\InputInternal | ||||
| withNameFrom (NameSource $source) | ||||
| Get an input like this one, with a different name. More... | ||||
Public Member Functions inherited from ILIAS\UI\Component\Component | ||||
| getCanonicalName () | ||||
| Get the canonical name of the component. More... | ||||
Public Member Functions inherited from ILIAS\UI\Component\Input\Container\Form\FormInput | ||||
| getUpdateOnLoadCode () | ||||
| Get update code. More... | ||||
Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable | ||||
| 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... | ||||
Public Member Functions inherited from ILIAS\UI\Component\Triggerer | ||||
| withResetTriggeredSignals () | ||||
| Get a component like this but reset any triggered signals of other components. More... | ||||
| getTriggeredSignals () | ||||
| Get all triggered signals of this component. More... | ||||
Protected Member Functions inherited from ILIAS\UI\Implementation\Component\Input\Field\FormInput | ||||
| getConstraintForRequirement () | ||||
| This may return a constraint that will be checked first if the field is required. More... | ||||
| applyOperationsTo ($res) | ||||
| getOperations () | ||||
Protected Member Functions inherited from ILIAS\UI\Implementation\Component\Input\Input | ||||
| 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... | ||||
Protected Attributes inherited from ILIAS\UI\Implementation\Component\Input\Field\FormInput | ||||
| bool | $is_disabled = false | |||
| bool | $is_required = false | |||
| Constraint | $requirement_constraint = null | |||
Protected Attributes inherited from ILIAS\UI\Implementation\Component\Input\Input | ||||
| $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 32 of file OptionalGroupInputTest.php.