Adjusted time.php to honor note on separate row option.
[timetracker.git] / WEB-INF / lib / smarty / plugins / modifiercompiler.cat.php
1 <?php
2 /**
3  * Smarty plugin
4  *
5  * @package Smarty
6  * @subpackage PluginsModifierCompiler
7  */
8
9 /**
10  * Smarty cat modifier plugin
11  *
12  * Type:     modifier<br>
13  * Name:     cat<br>
14  * Date:     Feb 24, 2003
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)
20  * @author   Uwe Tews
21  * @param array $params parameters
22  * @return string with compiled code
23  */
24 function smarty_modifiercompiler_cat($params, $compiler)
25 {
26     return '('.implode(').(', $params).')';
27 }
28
29 ?>