mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fix load_filter examples
This commit is contained in:
@@ -847,9 +847,9 @@ $smarty->display("index.tpl","FrontPage");</programlisting>
|
|||||||
<example>
|
<example>
|
||||||
<title>loading filter plugins</title>
|
<title>loading filter plugins</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
$smarty->load('pre', 'trim'); // load prefilter named 'trim'
|
$smarty->load_filter('pre', 'trim'); // load prefilter named 'trim'
|
||||||
$smarty->load('pre', 'datefooter'); // load another prefilter named 'datefooter'
|
$smarty->load_filter('pre', 'datefooter'); // load another prefilter named 'datefooter'
|
||||||
$smarty->load('output', 'compress'); // load output filter named 'compress'</programlisting>
|
$smarty->load_filter('output', 'compress'); // load output filter named 'compress'</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect1>
|
</sect1>
|
||||||
<sect1 id="api.register.block">
|
<sect1 id="api.register.block">
|
||||||
|
Reference in New Issue
Block a user