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


search for in the  


unregister_modifier

unregister_modifier -- 

void unregister_modifier ( string name)

Usatela per eliminare dinamicamente plugin modificatori. Passate il nome del modificatore del template da eliminare.

Esempio 13-1. unregister_modifier

<?php
// non vogliamo che i progettisti del template eliminino i tag dal contenuto

$smarty->unregister_modifier("strip_tags");
?>



 

credits 

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

All rights reserved.