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:
void unregister_function( |
name) ; |
string name
;Use isso para desregistrar dinamicamente uma função de plugin do template. Passe no template o nome da função.
Example 13.25. unregister_function
// nós não queremos que designers template tenham acesso aos nossos arquivos do sistema $smarty->unregister_function("fetch");