$fields : array
The collection of fields added to this object
Use the \Dewdrop\Db\Field API to manage the editing of values.
Adding fields to this object simplifies a couple aspects of the common add/edit workflow in a web application:
get(string $controlName) : \Dewdrop\Db\Field
Get the field matching the supplied control name.
setValues(array $values) : \Dewdrop\Fields\Edit
Set values for any fields managed by this object with a control name matching a key of the supplied $values array.
This method is also responsible for transforming the input when necessary for it to be useful for the database. For example, when unchecked, HTML inputs of type "checkbox" will not be present in POST at all. In that case, this method will detect that the POST key is absent and set the assocaited field's value to zero.
current() : \Dewdrop\Db\Field
Retrieve the current field during iteration.