Get Smarty

Donate

Paypal

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

lower

Si usa per trasformare una variabile in lettere minuscole.

Example 5.12. lower


<?php
    
$smarty = new Smarty;
$smarty->assign('articleTitle', 'Two Convicts Evade Noose, Jury Hung.');
$smarty->display('index.tpl');
    
?>

   

Dove index.tpl è:

 

{$articleTitle}
{$articleTitle|lower}

   

Questo stamperà:


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

   

Comments
No comments for this page.

Advertisement