Re: [SMARTY-DEV] tokens as input to modifiers

From: Date: Wed, 07 Jul 2004 20:20:14 +0000
Subject: Re: [SMARTY-DEV] tokens as input to modifiers
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2453@lists.php.net to get a copy of this message
On Wed, Jul 07, 2004 at 01:03:20PM -0700, boots wrote: > Should tokens be allowed to be passed to modifiers? The following does > not seem to work: > > {null|foo}, {true|foo}, etc... > > Bug or behaviour? i think it's intended. "null" or "true" could be registered functions which makes the above valid syntax. allowing "null" and "true" as constants would make it ambiguous. > xo boots > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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