On 1/23/08 3:44 PM, "John Campbell" <[EMAIL PROTECTED]> wrote:
> I just discovered smarty has default modifiers:
> http://www.smarty.net/manual/en/variable.default.modifiers.php
> 
> It seems like a good idea.  Does anyone use it?

Not a bad ideas as long as you can override it. I pass plenty of stuff
"upstream" that should not be escaped. But I like the default idea.

Smarty does have an override: {$var|smarty:nodefaults} to cover the
exceptions.


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to