feature request: switch

From: Date: Wed, 16 Apr 2003 03:09:33 +0000
Subject: feature request: switch
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1181@lists.php.net to get a copy of this message
Hi, I'm sure we've all used complex if/then logic in our templates to determine which, for instance, message to send, or which thing to display or whatever. Anyway, I think that it would be majorly useful to have a switch operator as part of the template syntax. It doesn't *have* to be called "switch" or even function the exact same way, but something along those lines would be massively cool. ~Paul

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