[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 nex...@gmail.com 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

[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 darren...@gmail.com wrote: In my template I

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 darren...@gmail.com wrote: It seems I was able to pass the second argument ESC_RAW, but this butchers my ability to read credentials either way. Is

[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 darren...@gmail.com wrote: I solved it guys but the above would not work so I had to do a different way. I found out about hasCredential