View Single Post
Old 04-27-2008, 05:39 PM   #1 (permalink)
freenity
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default ZF Custom Helpers Path

To use my own helpers I have to add my path to the view object:

PHP Code:
$view->addHelperPath("../application/default/views/helpers"); 
But, the problem is that I have to do this in every action where I want to use my helper, and I can't find a way to set this path once, say in a bootstrap....

Is there any easy and fun ways of doing this? :) and not having to add the path in every action..

Thanks.
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote