Using sfContext::getInstance()->set('form_signin', $this->form);
On 05/25/2010 08:08 AM, Gareth McCumskey wrote:
How did you set the variable? Was it as a session variable in an action by
using $this->getUser()->setAttribute()? Or as a value stored in a config file
like the app.yml?
On Tuesday 25 May 2010 07:03:30 Javier Garcia wrote:
Hi,
i have this code:
if(sfContext::getInstance()->get('form_signin')){
//...
}
but im getting this error:
The "form_signin" object does not exist in the current context.
Any right way to check if a variable saved in sfContext is set or not ?
--
Javi
Ubuntu 8.04 - Symfony 1.3
--
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