fix load_filter examples

This commit is contained in:
mohrt
2002-07-23 13:52:23 +00:00
parent 277b692b11
commit 9f3ff7c34f

View File

@@ -847,9 +847,9 @@ $smarty->display("index.tpl","FrontPage");</programlisting>
<example>
<title>loading filter plugins</title>
<programlisting>
$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'</programlisting>
$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'</programlisting>
</example>
</sect1>
<sect1 id="api.register.block">