big commit
[mirrors/Kyberia-bloodline.git] / inc / smarty / node_methodz / modifier.capitalize.php
1 <?php
2 /**
3 * Smarty plugin
4 * @package Smarty
5 * @subpackage plugins
6 */
7
8
9 /**
10 * Smarty capitalize modifier plugin
11 *
12 * Type: modifier<br>
13 * Name: capitalize<br>
14 * Purpose: capitalize words in the string
15 * @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE
16 * capitalize (Smarty online manual)
17 * @param string
18 * @return string
19 */
20 function smarty_modifier_capitalize($string)
21 {
22 return ucwords($string);
23 }
24
25 ?>
This page took 0.376906 seconds and 5 git commands to generate.