Skip to content

zend framework 2 - list of shipped defined events (zf2)

I just read the manual since i need to know what kind of existing events are available.

SendResponseEvent defines the "EVENTSENDRESPONSE" event.

MvcEvent defines "EVENTBOOTSTRAP", "EVENTDISPATCH", "EVENTDISPATCHERROR", "EVENTFINISH", "EVENTRENDER", "EVENTRENDERERROR" and "EVENTROUTE" event.

ViewEvent defines "EVENT
RENDERER", "EVENTRENDERERPOST" and "EVENTRESPONSE".
The ModuleEvent defines "EVENT
LOADMODULES", "EVENTLOADMODULESRESOLVE", "EVENTLOADMODULE" and the "EVENTLOADMODULE_POST" event.

Last but not least, doing the following ack-grep

ack 'extends\ Event' vendor/zendframework/

has the following results.

vendor/zendframework/zendframework/library/Zend/View/ViewEvent.php
19:class ViewEvent extends Event

vendor/zendframework/zendframework/library/Zend/Mvc/ResponseSender/SendResponseEvent.php
15:class SendResponseEvent extends Event

vendor/zendframework/zendframework/library/Zend/Mvc/MvcEvent.php
18:class MvcEvent extends Event

vendor/zendframework/zendframework/library/Zend/Cache/Storage/PostEvent.php
14:class PostEvent extends Event

vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleEvent.php
18:class ModuleEvent extends Event

Translate to de es fr it pt ja

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Markdown format allowed
Form options