File: modifier.lower.php

package info (click to toggle)
smarty 2.6.9-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 956 kB
  • ctags: 1,314
  • sloc: php: 4,628; makefile: 44
file content (25 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * Smarty lower modifier plugin
 *
 * Type:     modifier<br>
 * Name:     lower<br>
 * Purpose:  convert string to lowercase
 * @link http://smarty.php.net/manual/en/language.modifier.lower.php
 *          lower (Smarty online manual)
 * @param string
 * @return string
 */
function smarty_modifier_lower($string)
{
    return strtolower($string);
}

?>