Zend Framework
3.0
|
Default listeners for form annotations. More...
Public Member Functions | ||||
attach (EventManagerInterface $events, $priority=1) | ||||
Attach listeners. | ||||
handleAttributesAnnotation ($e) | ||||
Handle the Attributes annotation. | ||||
handleFlagsAnnotation ($e) | ||||
Handle the Flags annotation. | ||||
handleHydratorAnnotation ($e) | ||||
Handle the Hydrator annotation. | ||||
handleInputFilterAnnotation ($e) | ||||
Handle the InputFilter annotation. | ||||
handleObjectAnnotation ($e) | ||||
Handle the Object and Instance annotations. | ||||
handleOptionsAnnotation ($e) | ||||
Handle the Options annotation. | ||||
handleTypeAnnotation ($e) | ||||
Handle the Type annotation. | ||||
handleValidationGroupAnnotation ($e) | ||||
Handle the ValidationGroup annotation. | ||||
Public Member Functions inherited from AbstractAnnotationsListener | ||||
handleNameAnnotation ($e) | ||||
Attempt to discover a name set via annotation. | ||||
discoverFallbackName ($e) | ||||
Discover the fallback name via reflection. | ||||
Public Member Functions inherited from AbstractListenerAggregate | ||||
detach (EventManagerInterface $events) | ||||
Detach all previously attached listeners.
| ||||
Additional Inherited Members | |
Protected Attributes inherited from AbstractListenerAggregate | |
$listeners = [] | |
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 | ( | EventManagerInterface | $events, |
$priority = 1 |
|||
) |
Attach listeners.
EventManagerInterface | $events |
Implements ListenerAggregateInterface.
handleAttributesAnnotation | ( | $e | ) |
Handle the Attributes annotation.
Sets the attributes key of the form specification.
\Zend\EventManager\EventInterface | $e |
handleFlagsAnnotation | ( | $e | ) |
Handle the Flags annotation.
Sets the flags key of the form specification.
\Zend\EventManager\EventInterface | $e |
handleHydratorAnnotation | ( | $e | ) |
Handle the Hydrator annotation.
Sets the hydrator class to use in the form specification.
\Zend\EventManager\EventInterface | $e |
handleInputFilterAnnotation | ( | $e | ) |
Handle the InputFilter annotation.
Sets the input filter class to use in the form specification.
\Zend\EventManager\EventInterface | $e |
handleObjectAnnotation | ( | $e | ) |
handleOptionsAnnotation | ( | $e | ) |
Handle the Options annotation.
Sets the options key of the form specification.
\Zend\EventManager\EventInterface | $e |
handleTypeAnnotation | ( | $e | ) |
Handle the Type annotation.
Sets the form class to use in the form specification.
\Zend\EventManager\EventInterface | $e |
handleValidationGroupAnnotation | ( | $e | ) |
Handle the ValidationGroup annotation.
Sets the validation group to use in the form specification.
\Zend\EventManager\EventInterface | $e |