Symfony: how to check if a variable saved in sfContext is set or not?
Posted
by user248959
on Stack Overflow
See other posts from Stack Overflow
or by user248959
Published on 2010-05-25T05:05:12Z
Indexed on
2010/05/25
5:11 UTC
Read the original article
Hit count: 159
symfony
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 ?
Regards
Javi
© Stack Overflow or respective owner