RE: [SMARTY-DEV] default modifiers

From: Date: Wed, 17 Jul 2002 17:37:27 +0000
Subject: RE: [SMARTY-DEV] default modifiers
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-207@lists.php.net to get a copy of this message
my $.02... > >Default modifiers took about 2 lines of code to add :-) >Some questions, >first about syntax... string or array of values? > Arrays are probably the way to go for future flexibility. >Default modifiers affect all vars, including config >file vars. I suspect >that would be the intended behavior. I'm not so sure...for my current sites, I wouldn't need defaults for most config vars. Perhaps two separate arrays? >The last issue is how to handle vars you don't want >affected by default >modifiers. Should there be a way to disable default >modifiers for a >certain var, or do you just explicitly string more >modifiers on to >"undo" them? example, {$var|unescape} turns into >{$var|escape:"htmlall"|unescape} I'd like a way to override defaults explicitly. A "nodefaults" modifier? Gary

« previous php.smarty.dev (#207) next »