Zend Framework Multiple Helper Path Configuration

<Category: Programming> Read comments

As you may have multiple configuration for helpers of Zend View, simply configure as below will help

resources.view.helperPath.Zend_View_Helper = APPLICATION_PATH "/views/helpers"
resources.view.helperPath.My_Custom_Helper = "/path to helpers"

The “My_Custom_Hepler” is the prefix, so that you can support your different modules’ help path without hard coding in php codes.

Permalink: Zend Framework Multiple Helper Path Configuration

Related Posts

只有 1 条评论 订阅该文评论 RSS

Pablo Morales

You told me to illuminate my way.

Sarcasm=off

Post comment