Function smarty_modifier_capitalize
Smarty capitalize modifier plugin
Type: modifier
Name: capitalize
Purpose: capitalize words in the string
{@internal {$string|capitalize:true:true} is the fastest option for MBString enabled systems }}
Package: Smarty\PluginsModifier
Author: Monte Ohrt
Author: Rodney Rehm
Located at plugins/smarty/smarty_source/plugins/modifier.capitalize.php
Author: Monte Ohrt
Author: Rodney Rehm
Located at plugins/smarty/smarty_source/plugins/modifier.capitalize.php
string |
$string |
string to capitalize |
boolean |
$uc_digits = false |
also capitalize "x123" to "X123" |
boolean |
$lc_rest = false |
capitalize first letters, lowercase all following letters "aAa" to "Aaa" |
string
|
capitalized string |