On Thursday 08 Apr 2010 15:58:25 Саша Стаменковић wrote:
> Are you sure?

No, that's not correct. To retrieve the resource, you need either an _init*() 
method or use a bootstrap plugin. The resource is initialized when you 
bootstrapped it (e.g. configured the resource in the application.ini).

And because Zend delivers a view resource plugin by default, there is no need 
for a custom _initView() method.

> On Wed, Apr 7, 2010 at 10:37 PM, Chris Trahey <[email protected]> wrote:
> > umpirsky wrote:
> > 
> > 
> > Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource(
> > 'view');
> > 
> > 
> > Note that for this to work (I'm using 1.10), you need a bootstrap method
> > named _initView that returns your view object.

-- 
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com

Reply via email to