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

ldelim,rdelim

ldelim e rdelim si usano per fare l'escape dei delimitatori del template, nel nostro caso "{" o "}". Potete usare anche {literal}{/literal} per fare l'escape su blocchi di testo. Vedere anche {$smarty.ldelim} e {$smarty.rdelim}

Example 7.12. ldelim, rdelim


{* questo stamperà i delimitatori *}

{ldelim}funcname{rdelim} is how functions look in Smarty!

   

L'esempio sopra produrrà:


{funcname} is how functions look in Smarty!