You are here

function smarty_modifier_upper in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/lib/smarty/plugins/modifier.upper.php \smarty_modifier_upper()

Smarty upper modifier plugin

Type: modifier<br> Name: upper<br> Purpose: convert string to uppercase @link http://smarty.php.net/manual/en/language.modifier.upper.php upper (Smarty online manual)

Parameters

string:

Return value

string

File

includes/moodle/lib/smarty/plugins/modifier.upper.php, line 20

Code

function smarty_modifier_upper($string) {
  return strtoupper($string);
}