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