Set the value of a variable in the current template block. If $placeholder is an array the key of an element is treated as a placeholder name while the value is treated as it's substitution.
mixed $placeholder - name of the placeholder to substitute or a array with the placeholder as key and the data to assign as value.
mixed $variable - if $placeholder is not a array, the value to assign to the placeholder.
Example 41-1. Template - cvsnames.tpl.htm
|
Example 41-2. Script
|