Re: [fw-general] Re: Creating some crappy view helper

2008-07-10 Thread Matthew Ratzloff
Probably don't want to call it Zend_View_Helper_LoadMap. Sanchez_View_Helper_LoadMap or whatever would be better. Just to remember to add your helper directory in the bootstrap. -Matt On Thu, Jul 10, 2008 at 8:13 PM, Christian Sanchez <[EMAIL PROTECTED]> wrote: > Sorry guys, find the fix on the

[fw-general] Re: Creating some crappy view helper

2008-07-10 Thread Christian Sanchez
Sorry guys, find the fix on the net... class Zend_View_Helper_LoadMap { public $view; public function setView(Zend_View_Interface $view) { $this->view = $view; } function loadMap() { echo $this->view->render('map.phtml'); } } 2008/7/10 Christian Sanch