Day of the modifiers!

From: Date: Thu, 02 May 2002 02:57:57 +0000
Subject: Day of the modifiers!
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-73@lists.php.net to get a copy of this message
Here is another one I needed to make today: <?php /* * Smarty plugin * ------------------------------------------------------------- * File: modifier.trim.php * Type: modifier * Name: trim * Version: 1.0 * Date: May 1st, 2002 * Purpose: pass value to PHP trim() and return result * Install: Drop into the plugin directory. * Author: Jason E. Sweat <jsweat_php@yahoo.com> * ------------------------------------------------------------- */ function smarty_modifier_trim($string) { return trim($string); } /* vim: set expandtab: */ ?>

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