1 <?php
3 /**
4 * Smarty method Unregister_Prefilter
5 *
6 * Unregister a prefilter
7 *
8 * @package Smarty
9 * @subpackage SmartyMethod
10 * @author Uwe Tews
11 */
13 /**
14 * Unregister a prefilter
15 */
17 /**
18 * Unregisters a prefilter function
19 *
20 * @param callback $function
21 */
22 function Smarty_Method_Unregister_Prefilter($smarty, $function)
23 {
24 unset($smarty->registered_filters['pre'][$smarty->_get_filter_name($function)]);
25 }
27 ?>