4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
20 * Upper case a string but use the multibyte strtoupper function to better handle accents / umlaut
22 * @param string $string the string to upper case
26 function smarty_modifier_crmUpper($string): string {
27 return mb_strtoupper($string);