Hi Martin,

I'm already setting the param in the controller init(). 

Cheers,
Jess


Martin Hujer wrote:
> 
> try to put these commands in init() action...
> 
> Best Regards.
> 
> Martin.
> 
> 
> Waigani wrote:
>> 
>> Hi,
>> 
>> Is it possible to pass a param/variable from controller to pre-dispatch
>> plugin?
>> I've been trying the following:
>> 
>> In Controller:
>> 
>> setParam('var', $var);
>> or
>> Zend_Registry::set('var', $var)
>> 
>> In Predispatch Plugin:
>> 
>> getParam('var');
>> or
>> Zend_Registry::get('var');
>> 
>> But this does not work as Predispatch Plugin precedes (dispatched)
>> controller. Is there any work around??
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/passing-a-param-from-controller-to-predispatch-plugin--tf4310427s16154.html#a12271817
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to