ZF2 how to register path for controllers and view helpers

For programming and general questions on Zend Framework
Post Reply
zensys
Posts: 23
Joined: Mon Jun 21, 2010 11:19 am

ZF2 how to register path for controllers and view helpers

Post by zensys » 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"

Post Reply