smarty_modifiercompiler_default()
smarty_modifiercompiler_default(array $params, $compiler) : string
Smarty default modifier plugin
Type: modifier
Name: default
Purpose: designate default value for empty variables
Parameters
array | $params | parameters |
$compiler |
Returns
string —with compiled code