Hi.

I'm using output escaping for some time.
I would like to know what you think about it..?

Using $sf_data->get('foo') or $sf_data->getRaw('bar') can sometimes be
pretty complicated. Especially if you use Objects and plan to let a
"stupid designer" work on your templates...  and it simply makes
templates harder to read & write.

I would like to suggest to add a possibility to select the escaping mode
/ strategy per variable (not in the template!). This could be done by
setVar(), example:

setVar('foo', $foo, sfEsc::OFF)

or

setVar('bar', $bar, sfEsc::ENTITIES)


What do you think about such an enhancement?

Regards,
Matthias



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to