Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

unregister_function

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");