|
| getUpdateOnLoadCode () |
| Get update code. More...
|
|
| __construct (DataFactory $data_factory, Factory $refinery, $label, $byline) |
| Input constructor. More...
|
|
| getLabel () |
| Get the label of the input.- Returns
- string
More...
|
|
| withLabel ($label) |
| Get an input like this, but with a replaced label.- Parameters
-
- Returns
- Input
More...
|
|
| getByline () |
| Get the byline of the input.- Returns
- string|null
More...
|
|
| withByline ($byline) |
| Get an input like this, but with an additional/replaced label.- Parameters
-
- Returns
- Input
More...
|
|
| isRequired () |
| Is this field required?- Returns
- bool
More...
|
|
| withRequired ($is_required) |
| Get an input like this, but set the field to be required (or not).- Parameters
-
- Returns
- Input
More...
|
|
| isDisabled () |
| Is this input disabled?- Returns
- bool
More...
|
|
| withDisabled ($is_disabled) |
| Get an input like this, but set it to a disabled state.- Parameters
-
- Returns
- Input
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 ($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...
|
|
| getName () |
| The name of the input as used in HTML.- Returns
- string
More...
|
|
| withNameFrom (NameSource $source) |
| Get an input like this one, with a different name.- Parameters
-
- Returns
- Input
More...
|
|
| withInput (InputData $input) |
| Collects the input, applies trafos on the input and returns a new input reflecting the data that was putted in. More...
|
|
| getContent () |
| Get the current content of the input.- Returns
- Result
More...
|
|
| withOnUpdate (Signal $signal) |
| Trigger a signal of another component on update.- Parameters
-
Signal | $signal | A signal of another component |
- Returns
- $this
More...
|
|
| 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.- Parameters
-
- Returns
- $this
More...
|
|
| getCanonicalName () |
| Get the canonical name of the component. 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...
|
|
| withResetTriggeredSignals () |
| Get a component like this but reset any triggered signals of other components. More...
|
|
| getTriggeredSignals () |
| Get all triggered signals of this component. More...
|
|