Does Layout/Application Controller exists?

For programming and general questions on Zend Framework
Post Reply
davi665
Posts: 1
Joined: Mon Oct 07, 2013 7:33 pm

Does Layout/Application Controller exists?

Post by davi665 » Mon Oct 07, 2013 7:44 pm

Hi there,
I am really sorry, if I will ask totaly obvious thing, but I am stuck with this problem. I have my app (derived from SkeletonAppliaction with ZF 2.2) and there are some fields in the Layout.phtml which I would like to fill for every modul I will have in the future. Like the User Name. And now I am looking for some place where the ViewModel should be created. I think there should be something like Application Controller, which would create ViewModel for the layout. Is there anything like that? Some init method or stuff like that.

And another thing: does anyone of you have some specification of the modul.config.php file? Like reference manual for all fields the config can contain?

Thanks in advance
David

Post Reply