10 * Smarty default modifier plugin
14 * Purpose: designate default value for empty variables
15 * @link http://smarty.php.net/manual/en/language.modifier.default.php
16 * default (Smarty online manual)
17 * @author Monte Ohrt <monte at ohrt dot com>
22 function smarty_modifier_default($string, $default = '')
24 if (!isset($string) ||
$string === '')
30 /* vim: set expandtab: */
This page took 0.315319 seconds and 4 git commands to generate.