views:

47

answers:

1

I've just created a plugin, Is it possible to modify the param or do setParam in a plugin? if not what is a better approach?

+1  A: 

If you mean an Controller Plugin you can do the following:

public function preDispatch($request)
{
   $request->setParam('xyz', 'google');
}
ArneRie
exactly! thanks.
wnoveno