[symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread michael hodges
Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Reading the API (symfony 1.4) I thought one of the three boolean functions below would let me know if a user object is instantiated or not,

Re: [symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread Tom Haskins-Vaughan
I'm pretty sure a user instance is created regardless of whether you're logged in or not, or even whether or not you're using sfGuard. On 3/25/10, michael hodges mhodg...@gmail.com wrote: Hello all, Another newbie question. I've spent several days hunting for a way to determine if a user has

Re: [symfony-users] for the sfGuardPlugin, how do determine from within layout.php if a user has authenticated

2010-03-25 Thread Michał Piotrowski
Hi, 2010/3/26 michael hodges mhodg...@gmail.com: Hello all, Another newbie question.  I've spent several days hunting for a way to determine if a user has been authenticated or not from within layout.php Something like this? ?php if ($sf_user-isAuthenticated()): ? li