$name : string
The name for this helper, used when you want to define a global custom callback for a given field
This helper can provide Zend\InputFilter\Inputs for a supplied field.
In the case of DB objects, the Input automatically generated for the field, using validators and filters appropriate for its data type and constraints, will be used. For custom fields, you just need to return a \Zend\InputFilter\Input object for your field. This is most commonly used along with \Dewdrop\Fields\RowEditor. If you are adding a custom field and make it editable, you'll almost always need to provide a callback for this helper so that it knows how to validate and filter that custom field.
assign(mixed $assignments, callable $callable = null) : \Dewdrop\Fields\Helper\HelperAbstract
Assign one more custom per-instance callbacks for this helper. If the $arguments param is an array, this method expects that the keys will be field IDs and the values will be callables, assigning custom callbacks for multiple fields in one call. If, however, $assignments is a string or a FieldInterface object, a single custom callback assignment will be made.
getFieldAssignment(\Dewdrop\Fields\FieldInterface $field) : callable
Get the callback that will be used for the given FieldInterface object.
detectCallableForField(\Dewdrop\Fields\FieldInterface $field) : boolean|callable|mixed
For DB fields, we can automatically return an Input.
If no callback candidate is found, just return false from this method, which will be detected by getFieldAssignment(), causing execution to halt.
addInput(\Dewdrop\Fields\FieldInterface $field) : $this
Add the \Zend\InputFilter\Input object for the given field.
wrapCallable(callable $callable, \Dewdrop\Fields\FieldInterface $field = null) : callable
Wrap a field's callback to ensure that a reference to the helper is always supplied as the first argument to the callback.