smarty template engine
Wednesday, January 07, 2009  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


unregister_modifier()

unregister_modifier() -- dynamically unregister modifier plugin

Description

void unregister_modifier ( string name)

Pass in the template modifier name.

Example 13-1. unregister_modifier()

<?php

// we don't want template designers to strip tags from elements
$smarty->unregister_modifier('strip_tags');

?>

See also register_modifier() and plugin modifiers,




 

credits 

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

All rights reserved.