function smarty_modifier_cat in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/smarty/plugins/modifier.cat.php \smarty_modifier_cat()
Smarty cat modifier plugin
Type: modifier<br> Name: cat<br> Date: Feb 24, 2003 Purpose: catenate a value to a variable Input: string to catenate Example: {$var|cat:"foo"} @link http://smarty.php.net/manual/en/language.modifier.cat.php cat (Smarty online manual) @author Monte Ohrt <monte at ohrt dot com> @version 1.0
Parameters
string:
Return value
string
File
- includes/
moodle/ lib/ smarty/ plugins/ modifier.cat.php, line 26
Code
function smarty_modifier_cat($string, $cat) {
return $string . $cat;
}