2009年8月11日星期二

Re: [fw-mvc] How to get resource in plugin

Hi,

I'm used to do it like that:

$front = Zend_Controller_Front::getInstance();
$bootstrap = $front->getParam('bootstrap');
$resource = $bootstrap->getResource('resourcename');

Best,


V


sNop wrote:
>
> Hi,
>
> what is the best way to get resource in my plugins ?
>
> Thank you for advices
>
>
>
>
>


-----
Vincent
--
View this message in context: http://www.nabble.com/How-to-get-resource-in-plugin-tp24904915p24917537.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: