Home >Backend Development >PHP Tutorial >Usage of get, post, request, cookies, and session variables in smarty templates
2.{$smarty.const} PHP constants can be accessed directly. For example
3.{$smarty.capture} The output captured through the {capture}..{/capture} structure can be accessed using the {$smarty} variable. 4.{$smarty.config} {$smarty} variables can access loaded config variables For example {$smarty.config.foo} can represent {#foo#} 5.{$smarty.section}, {$smarty.foreach} {$smarty} variables can access properties of 'section' and 'foreach' loops 6.{$smarty.template} displays the name of the currently processed template 7.{$smarty.version} Show smarty template version 8.{$smarty.ldelim} displays the left delimiter 9.{$smarty.rdelim} displays the right delimiter |