Smarty: Variables

Smarty has several different types of variables. The type of the variable depends on what symbol it is prefixed or enclosed within.

Variables in Smarty can be either displayed directly or used as arguments for functions, attributes and modifiers, inside conditional expressions, etc. To print a variable, simply enclose it in the delimiters so that it is the only thing contained between them.

Jenis-Jenis Variabel

 * 1) Variables assigned from PHP
 * 2) Variable scopes
 * 3) Variables loaded from config files
 * 4) {$smarty} reserved variable