Hi List,
I'd like to create a plugin for building the html navigation of my site
, for this i would like to designoverride preDispatch method
the flow would be:
for each action
check if the related controller have a specific property called :
zone or zonesMap
if yes, i'd like to call a private method of the target controller
to build and assign the menu html in the related view.
My problem is that i can't figure how to access the target controller
object from the plugin. i can call $action->getActionName() or
$action->getControllerName() , but at this time i don't know if the
target controller is already instanciated ( i don't think so...)
is there a way to achieve that ?
Thanks in advance
Xav