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:
unregister_function
void unregister_function(string name);
Используйте функцию для динамической деригистрации плагина функции шаблона. В качестве аргумента передается имя функции шаблона.
Example 13.25. unregister_function
<?php // мы не хотим давать доступ дизайнеру шаблонов к системным файлам $smarty->unregister_function("fetch"); ?>