cvs: smarty /docs programmers.sgml
| From: | Monte Ohrt | Date: | Tue, 23 Jul 2002 13:52:24 +0000 |
| Subject: | cvs: smarty /docs programmers.sgml | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-209@lists.php.net to get a copy of this message | ||
mohrt Tue Jul 23 09:52:24 2002 EDT
Modified files:
/smarty/docs programmers.sgml
Log:
fix load_filter examples
Index: smarty/docs/programmers.sgml
diff -u smarty/docs/programmers.sgml:1.16 smarty/docs/programmers.sgml:1.17
--- smarty/docs/programmers.sgml:1.16 Wed Jul 3 16:08:33 2002
+++ smarty/docs/programmers.sgml Tue Jul 23 09:52:23 2002
@@ -847,9 +847,9 @@
<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">