Хранилища Subversion ant

Редакция

Содержимое файла | Последнее изменение | Открыть журнал | RSS

Редакция Автор № строки Строка
304 alex-w 1
<?php
2
 
3
/**
4
* Smarty method Register_Outputfilter
5
*
6
* Registers a PHP function as outputfilter
7
*
8
* @package Smarty
9
* @subpackage SmartyMethod
10
* @author Uwe Tews
11
*/
12
 
13
/**
14
* Registers an output filter function to apply
15
* to a template output
16
*
17
* @param object $smarty
18
* @param callback $function
19
*/
20
function register_outputfilter($smarty, $function)
21
{
22
    $smarty->registered_filters['output'][$smarty->_get_filter_name($function)] = $function;
23
}
24
 
25
?>