你的位置:
PHP教程部落
>
PHP Smarty专题
>
ldelim,rdelim
|
ldelim,rdelim
ldelim and rdelim are used for displaying the literal delimiter, in
our case "{" or "}". The template engine always tries to interpret
delimiters, so this is the way around that.
Example 7-12. ldelim, rdelim {* this will print literal delimiters out of the template *}
{ldelim}funcname{rdelim} is how functions look in Smarty!
OUTPUT:
{funcname} is how functions look in Smarty! |
|
|
|
|