[symfony-users] Re: How to get raw data in a partial???

2010-02-09 Thread Florian
To get the REAL $sf_user in templates, just do a $sf_data- >getRaw('sf_user'); On 8 fév, 23:55, Richtermeister wrote: > Just to your specific point, $sf_user is accessible from every > template or partial anyways.. no need to pass it along. > > Daniel > > On Feb 8, 1:09 pm, Darren884 wrote: >

[symfony-users] Re: How to get raw data in a partial???

2010-02-08 Thread Richtermeister
Just to your specific point, $sf_user is accessible from every template or partial anyways.. no need to pass it along. Daniel On Feb 8, 1:09 pm, Darren884 wrote: > I solved it guys but the above would not work so I had to do a > different way. I found out about hasCredential and used that. The

[symfony-users] Re: How to get raw data in a partial???

2010-02-08 Thread Darren884
I solved it guys but the above would not work so I had to do a different way. I found out about hasCredential and used that. The above methods don't work too nicely on object methods. On Feb 8, 12:11 pm, Norbert wrote: > Am 08.02.10 20:41, schrieb Darren884:> In my template I am trying to do incl

Re: [symfony-users] Re: How to get raw data in a partial???

2010-02-08 Thread Nathan
Just use $value->getRawValue() --- nat...@nathan.gs : http://nathan.gs : http://twitter.com/nathan_gs On Mon, Feb 8, 2010 at 8:49 PM, Darren884 wrote: > It seems I was able to pass the second argument ESC_RAW, but this > butchers my ability to read credentials either way. Is there any I can >

[symfony-users] Re: How to get raw data in a partial???

2010-02-08 Thread Darren884
It seems I was able to pass the second argument ESC_RAW, but this butchers my ability to read credentials either way. Is there any I can just a simple damn array? I mean its Symfony's own variable. What is going on here? On Feb 8, 11:41 am, Darren884 wrote: > In my template I am trying to do nav