6  * @subpackage PluginsModifierCompiler
 
  10  * Smarty cat modifier plugin
 
  15  * Purpose:  catenate a value to a variable
 
  16  * Input:    string to catenate
 
  17  * Example:  {$var|cat:"foo"}
 
  18  * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
 
  19  *          (Smarty online manual)
 
  21  * @param array $params parameters
 
  22  * @return string with compiled code
 
  24 function smarty_modifiercompiler_cat($params, $compiler)
 
  26     return '('.implode(').(', $params).')';