PHP Classes

File: lib/plugins/inlinemodifier.upper.php

Recommend this page to a friend!
  Classes of David Tamas   g-template-php   lib/plugins/inlinemodifier.upper.php   Download  
File: lib/plugins/inlinemodifier.upper.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: g-template-php
Process and render templates generating PHP code
Author: By
Last change:
Date: 5 years ago
Size: 499 bytes
 

Contents

Class file image Download
<?php
/**
 * gTemplate Plugins
 *
 * @package gTemplate
 * @subpackage Plugins
 */

/**
 * gTemplate upper modifier plugin
 *
 * Type: inlinemodifier<br>
 * Name: upper<br>
 * Purpose: convert string to uppercase
 *
 * @version 1.0
 * @author Tamas David (G-Lex) <glex at mittudomain.info>
 * @link https://github.com/glex86/g-template-php G-Template Engine on Github
 */
function tpl_inlinemodifier_upper($variable, $arguments, &$gTpl) {
    return
"mb_strtoupper({$variable})";
}