ZF2 how to register path for controllers and view helpers

For programming and general questions on Zend Framework

ZF2 how to register path for controllers and view helpers

Postby zensys on Fri Dec 14, 2012 9:59 am

As far as I have seen in the skeleton app and the manual, in ZF2 you have to register/configure individual controllers and view helpers. Is there also a way to register a path instead of the individual controllers and helpers? E.g. similar to ZF1, application.ini:

Code: Select all
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.view.helperPath.Application_View_Helper = APPLICATION_PATH "/views/helpers"
zensys
 
Posts: 23
Joined: Mon Jun 21, 2010 11:19 am

Return to Zend Framework

Who is online

Users browsing this forum: dani4864 and 4 guests