Re: [symfony-users] Accessing user session from a custom routing class

2010-03-24 Thread Alan Bem
Context is available as an attribute in sfRoute::$context. On Wed, Mar 24, 2010 at 2:59 AM, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: +1 On Tue, Mar 16, 2010 at 1:17 PM, Jose Antonio Pio Gil joseto...@gmail.com wrote: I have the same question about it! 2010/3/16 HiDDeN

Re: [symfony-users] Accessing user session from a custom routing class

2010-03-23 Thread Tom Haskins-Vaughan
+1 On Tue, Mar 16, 2010 at 1:17 PM, Jose Antonio Pio Gil joseto...@gmail.com wrote: I have the same question about it! 2010/3/16 HiDDeN davidmoralesmoj...@gmail.com Is there some way to acces the user object from a custom routing class? I'd like to add a parameter when generating a url,

[symfony-users] Accessing user session from a custom routing class

2010-03-16 Thread HiDDeN
Is there some way to acces the user object from a custom routing class? I'd like to add a parameter when generating a url, and that parameter is inside the user session, so I need to access it. The only way I found to access is using the sfContext::getInstance()- getUser(), but it's known to be

Re: [symfony-users] Accessing user session from a custom routing class

2010-03-16 Thread Jose Antonio Pio Gil
I have the same question about it! 2010/3/16 HiDDeN davidmoralesmoj...@gmail.com Is there some way to acces the user object from a custom routing class? I'd like to add a parameter when generating a url, and that parameter is inside the user session, so I need to access it. The only way