On Monday, August 13, 2007, scube wrote: > my goal is to access the content of myUser.class.php (located in the > lib dir) from a template or layout. But how can I do that?
Use the $sf_user variable from the templates. <?php echo $sf_user->isAuthenticated ? 'You are logged in' : 'You are not logged in' ?> --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---