Action controller lifecycle

36 views
Skip to first unread message

Mr Mirouf

unread,
Feb 6, 2012, 5:31:54 AM2/6/12
to zfdeve...@googlegroups.com
Hi all,

I found nothing about Zend Action Controller lifecycle. Is it instanciated for each action request ? Is it stateless?

I tried to persist a Zend_Form object in an action controller attribute but it seems that it becomes null as I perform another action in my controller.

Thanks for replying

vivek ojha

unread,
Feb 1, 2013, 12:35:09 AM2/1/13
to zfdeve...@googlegroups.com, noxex...@gmail.com
Hi Mirouf,

Please find below mentioned controller life cycle:

Dispatch loop:

routeStartup()--->routeShutdown()--->dispatchLoopStartUp()--->preDispactch-->Init()--->Action()--->postDispatch()->dispactLoppShutdown()


Do let me know if you need any information for the same.

Thanks,
Vivek Ojha
Reply all
Reply to author
Forward
0 new messages