Matthew Weier O'Phinney-3 wrote:
> 
> Within your action helper's init() or preDispatch() method, do something
> like this:
> 
>     $controller = $this->getActionController();
>     $controller->foo = 'bar';
> 

YES!!!!!! Works like a charm. :-) :-) :-)

Thanks so much, I really appreciate everybody's help!

Jason
-- 
View this message in context: 
http://www.nabble.com/Best-Practices%3A-Eliminate-redundancy-within-various-controller-init-methods--tp21341232p21633228.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to