/[cvs]/nfo/php/libs/net.php.smarty/plugins/modifier.upper.php
ViewVC logotype

Annotation of /nfo/php/libs/net.php.smarty/plugins/modifier.upper.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Wed Jun 16 21:58:17 2004 UTC (20 years, 1 month ago) by joko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +16 -7 lines
updated to smarty-2.6.3

1 cvsjoko 1.1 <?php
2 joko 1.2 /**
3     * Smarty plugin
4     * @package Smarty
5     * @subpackage plugins
6     */
7 cvsjoko 1.1
8 joko 1.2
9     /**
10     * Smarty upper modifier plugin
11     *
12     * Type: modifier<br>
13     * Name: upper<br>
14 cvsjoko 1.1 * Purpose: convert string to uppercase
15 joko 1.2 * @link http://smarty.php.net/manual/en/language.modifier.upper.php
16     * upper (Smarty online manual)
17     * @param string
18     * @return string
19 cvsjoko 1.1 */
20     function smarty_modifier_upper($string)
21     {
22 joko 1.2 return strtoupper($string);
23 cvsjoko 1.1 }
24    
25     ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed