load_filter

PHP Smarty

Smarty - the compiling PHP template engine
Prev 来源:PHP中文社区 Chapter 13. Methods Next

load_filter
加载过滤器

$smarty->load_filter('pre', 'trim'); // load prefilter named 'trim'
$smarty->load_filter('pre', 'datefooter'); // load another prefilter named 'datefooter'
$smarty->load_filter('output', 'compress'); // load output filter named 'compress'

Prev 来源:PHP中文社区 Home Next
is_cached
是否已被缓存
Up register_block
注册一个块