Default listeners for form annotations
Defines and attaches a set of default listeners for form annotations (which are defined on object properties). These include:
See the individual annotation classes for more details. The handlers registered work with the annotation values, as well as the form specification passed in the event object.
Attach listeners
Parameters: | EventManagerInterface – |
---|---|
Return type: | void |
Handle the Attributes annotation
Sets the attributes key of the form specification.
Parameters: | ZendEventManagerEventInterface – |
---|---|
Return type: | void |
Handle the Flags annotation
Sets the flags key of the form specification.
Parameters: | ZendEventManagerEventInterface – |
---|---|
Return type: | void |
Handle the Hydrator annotation
Sets the hydrator class to use in the form specification.
Parameters: | ZendEventManagerEventInterface – |
---|---|
Return type: | void |
Handle the InputFilter annotation
Sets the input filter class to use in the form specification.
Parameters: | ZendEventManagerEventInterface – |
---|---|
Return type: | void |
Handle the Object annotation
Sets the object to bind to the form or fieldset
Parameters: | ZendEventManagerEventInterface – |
---|---|
Return type: | void |
Handle the Options annotation
Sets the options key of the form specification.
Parameters: | ZendEventManagerEventInterface – |
---|---|
Return type: | void |