smarty template engine
Tuesday, October 07, 2008  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


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}

Esempio 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!



 

credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.