Source for file modifier.default.php
Documentation is available at modifier.default.php
* Smarty default modifier plugin
* Purpose: designate default value for empty variables
* @link http://smarty.php.net/manual/en/language.modifier.default.php
* default (Smarty online manual)
if (!isset ($string) || $string === '')
/* vim: set expandtab: */
|