Hi folks,

I have been working on a project which is based on  symfony 1.0.

Does anyone has idea about getting the context user ($this->getUser())
reference in sfMixer?

This is how sfMixer is being used:

sfMixer::register('BaseArticle:save:pre', array('ArticleMixer',
'preSave'));


I can use the sfContext::getInstance(), but this make the code
untestable, so i am looking for any better option.



Thanks

-Imran

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to