[Solar-talk] helper stack
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon Aug 21 03:53:19 PDT 2006
On 8/21/06, Jeff Surgeson wrote:
> $stack = Solar::factory('Solar_View');
> $stack->addHelperClass($stk);
Jeff,
You should not instantiate your view. You don't want two views! Inside
an app, you can do:
$view = $this->_getView();
$view->addHelperClass($stk);
And I think this is the most correct way. If you will use that helper
path everywhere, add it in _setup().
rodrigo
More information about the solar-talk
mailing list