Hi.
Try $this->*getInvokeArg*('bootstrap')->getResource('foo');
Check
http://www.nabble.com/How-to-get-an-application-resource-inside-a-controller-action-td23728917.html#a23729095
Regards,
Saša Stamenković
On Thu, Jul 9, 2009 at 3:26 PM, holografix . <[email protected]> wrote:
> Hi
>
> I have some resource methods in Bootstrap class
>
> class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
> {
> public function _initView()
> {
> ......
> }
>
> public function _initFoo()
> {
> ...
> }
> }
>
> How can I access this resources in an action controller ?
>
> I think that section 4.3.1.1 (Resource methods) in the manual could be
> improved.
> It only tells how to bootstrap the resource methods. Not how to access this
> resources later in the application.
>
> Cheers
> holo
>