Add action helpers (and path) in config.ini file


/ Published in: Other
Save to your folder(s)

Not tested


Copy this code and paste it in your HTML
  1. ;add helper path
  2. resources.frontController.actionhelperpaths.My_Action_Helper = "My/Action/Helper"
  3.  
  4. ; register action helpers in helperbroker
  5. resources.frontController.plugins.authorize = "My_Controller_Plugin_Authorize"
  6. resources.frontController.plugins.analytics = "My_Controller_Plugin_Analytics"
  7. ; etc...

URL: http://www.zfforums.com/zend-framework-general-discussions-1/general-q-zend-framework-2/how-register-action-helpers-application-ini-3005.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.