What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
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!