diff --git a/docs/programmers.sgml b/docs/programmers.sgml index fdb3a0cf..ac006597 100644 --- a/docs/programmers.sgml +++ b/docs/programmers.sgml @@ -847,9 +847,9 @@ $smarty->display("index.tpl","FrontPage"); loading filter plugins -$smarty->load('pre', 'trim'); // load prefilter named 'trim' -$smarty->load('pre', 'datefooter'); // load another prefilter named 'datefooter' -$smarty->load('output', 'compress'); // load output filter named 'compress' +$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'