Hi Gunter

For your first question:-

        $view->leftNavigation = 'admin';
        $view->leftNavigationCap = ucfirst($view->leftNavigation);
        $view->bodyContentImage = 'hed_admin.gif';

These should read $this->view->.... - you should be OK then.

-Would the init function be called twice if it's called in each constructor and also in each init function?

Yes, it will call SaSo_Controller first and then cascade back to Zend_Controller_Action. That's not such a huge issue, as the base class doesn't perform any real action. But it's definitely good practice to call the parent::init() method if you're planning to keep extending your controllers.

Cheers



--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com

Reply via email to