What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Sono valori usati per modificare o specificare le impostazioni di sicurezza quando $security è abilitata. Queste sono le impostazioni possibili:
PHP_HANDLING - true/false. Se è impostato a true, l'impostazione di $php_handling non viene verificata per la sicurezza.
IF_FUNCS - E' un array con i nomi delle funzioni PHP consentite nelle istruzioni IF.
INCLUDE_ANY - true/false. Se impostata a true, qualsiasi template può essere incluso dal filesystem, indipendentemente dalla lista di $secure_dir.
PHP_TAGS - true/false. Se impostato a true, è consentito l'uso dei tag {php}{/php} nei template.
MODIFIER_FUNCS - E' un array coi nomi delle funzioni PHP di cui è consentito l'uso come modificatori delle variabili.