$form
$form : \Charcoal\Ui\Form\FormInterface
Store a reference to the parent form widget.
Provides an implementation of {@see \Charcoal\Ui\FormGroup\FormGroupInterface}.
$form : \Charcoal\Ui\Form\FormInterface
Store a reference to the parent form widget.
$formInputBuilder : \Charcoal\Ui\FormInput\FormInputBuilder
Store the builder instance for the current class.
$inputs : array<mixed,\Charcoal\Ui\FormInput\FormInputInterface>
The group's collection of fields.
setInputCallback(callable $cb) : \Charcoal\Ui\FormGroup\FormGroupInterface
callable | $cb | The input callback. |
Chainable
setForm(\Charcoal\Ui\Form\FormInterface $form) : \Charcoal\Ui\FormGroup\FormGroupInterface
\Charcoal\Ui\Form\FormInterface | $form | The parent form object. |
Chainable
form() : \Charcoal\Ui\Form\FormInterface
setL10nMode(string $mode) : \Charcoal\Ui\FormGroup\FormGroupInterface
string | $mode | The l10n mode. |
Chainable
setInputs(array $inputs) : \Charcoal\Ui\FormGroup\FormGroupInterface
array | $inputs | The group inputs. |
Chainable
addInput(string $inputIdent, array|\Charcoal\Ui\FormInput\FormInputInterface $input) : \Charcoal\Ui\FormGroup\FormGroupInterface
string | $inputIdent | The input identifier. |
array|\Charcoal\Ui\FormInput\FormInputInterface | $input | The input object or structure. |
If the ident argument is not a string or if the input is not valid.
Chainable
inputs(callable $inputCallback = null) : array<mixed,\Charcoal\Ui\FormGroup\FormGroupInterface>|\Charcoal\Ui\FormGroup\Generator
Form Input generator.
callable | $inputCallback | Optional. Input callback. |
setFormInputBuilder(\Charcoal\Ui\FormInput\FormInputBuilder $builder) : \Charcoal\Ui\FormGroup\FormGroupInterface
\Charcoal\Ui\FormInput\FormInputBuilder | $builder | The builder, to create customized form input objects. |
Chainable