PageRenderTime 16ms CodeModel.GetById 14ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/class/smarty/plugins/modifier.upper.php

https://gitlab.com/VoyaTrax/vtCMS
PHP | 26 lines | 6 code | 3 blank | 17 comment | 0 complexity | 0ef0e9784273f5d5384f34ad303bd15e MD5 | raw file
 1<?php
 2/**
 3 * Smarty plugin
 4 * @package Smarty
 5 * @subpackage plugins
 6 */
 7
 8
 9/**
10 * Smarty upper modifier plugin
11 *
12 * Type:     modifier<br>
13 * Name:     upper<br>
14 * Purpose:  convert string to uppercase
15 * @link http://smarty.php.net/manual/en/language.modifier.upper.php
16 *          upper (Smarty online manual)
17 * @author   Monte Ohrt <monte at ohrt dot com>
18 * @param string
19 * @return string
20 */
21function smarty_modifier_upper($string)
22{
23    return strtoupper($string);
24}
25
26?>