File: lib/plugins/inlinemodifier.lower.php

Recommend this page to a friend!
  Classes of David Tamas  >  g-template-php  >  lib/plugins/inlinemodifier.lower.php  >  Download  
File: lib/plugins/inlinemodifier.lower.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: 2 years ago
Size: 489 bytes
 

 

Contents

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

/**
 * gTemplate lower modifier plugin
 *
 * Type: inlinemodifier<br>
 * Name: lower<br>
 * Purpose: convert string to lowercase
 *
 * @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_modifier_lower($variable, $arguments, &$gTpl) {
    return
"mb_strtolower({$variable})";
}


For more information send a message to info at phpclasses dot org.