Subversion-Projekte lars-tiefland.laravel_shop

Revision

Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
lower {#language.modifier.lower}
2
=====
3
 
4
This is used to lowercase a variable. This is equivalent to the PHP
5
[`strtolower()`](&url.php-manual;strtolower) function.
6
 
7
 
8
    <?php
9
 
10
    $smarty->assign('articleTitle', 'Two Convicts Evade Noose, Jury Hung.');
11
 
12
    ?>
13
 
14
 
15
 
16
Where template is:
17
 
18
 
19
    {$articleTitle}
20
    {$articleTitle|lower}
21
 
22
 
23
 
24
This will output:
25
 
26
 
27
    Two Convicts Evade Noose, Jury Hung.
28
    two convicts evade noose, jury hung.
29
 
30
 
31
 
32
See also [`upper`](#language.modifier.upper) and
33
[`capitalize`](#language.modifier.capitalize).