2014-01-29 12:01:31 +04:00
|
|
|
Modifier lower
|
|
|
|
==============
|
2013-02-09 10:59:08 +04:00
|
|
|
|
|
|
|
Modifier is used to lowercase a variable or string. Have short alias `low`
|
|
|
|
This is equivalent to the PHP [strtolower()](http://docs.php.net/lower) function.
|
|
|
|
|
|
|
|
```smarty
|
|
|
|
{var $name = "Bzick"}
|
|
|
|
|
|
|
|
{$name} output Bzick
|
2015-12-27 18:50:18 +03:00
|
|
|
{$name|lower} output bzick
|
|
|
|
{$name|low} output bzick too
|
|
|
|
```
|