View Single Post
  #1 (permalink)  
Old 04-13-2008, 01:37 PM
sebastian sebastian is offline
Junior Member
 
Join Date: Apr 2008
Location: Germany, Hamburg
Posts: 11
Default MVC and custom helpers

Hi @ all,

I'm pretty new to Zend Framework and played around a bit with it the last days. Zend Studio 6.0.1 therefor generated a simple base application. I added the following lines to index.php:

Code:
Zend_Loader::registerAutoload();
Zend_Layout::startMvc(array('layoutPath' => ROOT_PATH . '/views/scripts/layouts'));
Everything with a layout work fine. Now I want to write some custom helpers. I placed it in the view/helpers path. I could not work out, how I have name the helper files and classes to get it work. Who can give me a hint ? Lets say for example for a helper called linkTo.

Thanks in advance

Sebastian
Reply With Quote