Re: [symfony-users] How to know if a user is logged in

2010-02-05 Thread Eno
On Fri, 5 Feb 2010, ReynierPM wrote:

> Hi:
> I need to know if a user is logged in or not from my layout.php file, is 
> this possible? How?

http://www.symfony-project.org/jobeet/1_2/Propel/en/13#chapter_13_sub_authentication



-- 


-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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.



Re: [symfony-users] How to know if a user is logged in

2010-02-05 Thread ReynierPM

On 2/5/2010 5:38 PM, Michał Piotrowski wrote:



I'm using something like this
 isAuthenticated()): ?>
   
 
   
 
   
 
   
   
 
   
 

Regards,
M


Thx a lot, both of you


--
Saludos
ReynierPM

--
You received this message because you are subscribed to the Google Groups "symfony 
users" group.
To post to this group, send email to symfony-us...@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.



Re: [symfony-users] How to know if a user is logged in

2010-02-05 Thread Michał Piotrowski
Hi,

2010/2/5 ReynierPM :
> Hi:
> I need to know if a user is logged in or not from my layout.php file, is
> this possible? How?
> --
> Cheers
> ReynierPM
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@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.
>
>

I'm using something like this
isAuthenticated()): ?>
  

  

  

  
  

  


Regards,
M

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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.



Re: [symfony-users] How to know if a user is logged in

2010-02-05 Thread Gábor Fási
$sf_user->isAuthenticated()

On Fri, Feb 5, 2010 at 23:34, ReynierPM  wrote:
> Hi:
> I need to know if a user is logged in or not from my layout.php file, is
> this possible? How?
> --
> Cheers
> ReynierPM
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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.



[symfony-users] How to know if a user is logged in

2010-02-05 Thread ReynierPM

Hi:
I need to know if a user is logged in or not from my layout.php file, is 
this possible? How?

--
Cheers
ReynierPM

--
You received this message because you are subscribed to the Google Groups "symfony 
users" group.
To post to this group, send email to symfony-us...@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.