class FormFieldRegistry
This is an internal class that must not be used directly.
Methods
|
add(FormField $field)
Adds a field to the registry. |
||
|
remove(string $name)
Removes a field and its children from the registry. |
||
| mixed |
get(string $name)
Returns the value of the field and its children. |
|
| Boolean |
has(string $name)
Tests whether the form has the given field. |
|
|
set(string $name, mixed $value)
Set the value of a field and its children. |
||
| array |
all()
Returns the list of field with their value. |
Details
at line 32
public
add(FormField $field)
Adds a field to the registry.
at line 58
public
remove(string $name)
Removes a field and its children from the registry.
at line 82
public mixed
get(string $name)
Returns the value of the field and its children.
at line 104
public Boolean
has(string $name)
Tests whether the form has the given field.
at line 124
public
set(string $name, mixed $value)
Set the value of a field and its children.
at line 142
public array
all()
Returns the list of field with their value.