Smarty Manual
Prev | Chapter 7. Built-in Functions | Next

# ldelim,rdelim

ldelim and rdelim are used for escaping template delimiters, in our case "{" or "}". You can also use {literal}{/literal} to escape blocks of text. See also {$smarty.ldelim} and {$smarty.rdelim}

Example 7-12. ldelim, rdelim
    {* this will print literal delimiters out of the template *}

    {ldelim}funcname{rdelim} is how functions look in Smarty!
The above example will output:
    {funcname} is how functions look in Smarty!

Prev | Home | Next
if,elseif,else | Up | literal