2009年9月5日星期六

Re: [fw-mvc] Zend_Controller_Plugin for the module

You could have a plugin where you checked for a specific module name
and perform your logic.


if($request->getModuleName() == 'modename') {
//code here
}

Sent from my iPhone

On Sep 5, 2009, at 8:09 AM, Sudheer Satyanarayana <sudheer.s@binaryvibes.co.in
> wrote:

> On Saturday 05 September 2009 06:26 PM, Serkys wrote:
>> Hello.
>>
>> Can I register controller plugin for one module only?
>>
>
>
> Front controller plugins are registered before the module is
> recognized.
>
>
> --
>
> With warm regards,
> Sudheer. S
> Business: http://binaryvibes.co.in, Tech stuff: http://
> techchorus.net, Personal: http://sudheer.net
>

没有评论: