lower

    用来将变量内容全部小写。等于PHP的strtolower()函数。

例子5-13. lower

<?php

$smarty
->assign('articleTitle''Two Convicts Evade Noose, Jury Hung.');

?>

    模板为:

{$articleTitle}
{$articleTitle|lower}

    输出为:

Two Convicts Evade Noose, Jury Hung.
two convicts evade noose, jury hung.

    参见uppercapitalize