smarty template engine
Thursday, January 08, 2009  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


unregister_function

void unregister_function (string name)

Use isso para desregistrar dinamicamente uma função de plugin do template. Passe no template o nome da função.

Exemplo 13-25. unregister_function

// nós não queremos que designers template tenham acesso aos nossos arquivos do sistema

$smarty->unregister_function("fetch");



 

credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.