mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 12:54:26 +02:00
Updated docs according to the changes from the previous commit
This commit is contained in:
@@ -12,6 +12,17 @@
|
|||||||
</para>
|
</para>
|
||||||
</note>'>
|
</note>'>
|
||||||
|
|
||||||
|
<!ENTITY note.parameter.function '<note>
|
||||||
|
<title>Technical Note</title>
|
||||||
|
<para>
|
||||||
|
If the chosen <parameter>function</parameter> callback is of the form
|
||||||
|
<literal>array(&$object, $method)</literal>, only one instance of the
|
||||||
|
same class and with the same <literal>$method</literal> can be registered. The
|
||||||
|
latest registered <parameter>function</parameter> callback will be used in
|
||||||
|
such a scenario.
|
||||||
|
</para>
|
||||||
|
</note>'>
|
||||||
|
|
||||||
<!ENTITY parameter.compileid '<para>
|
<!ENTITY parameter.compileid '<para>
|
||||||
As an optional third parameter, you can pass a
|
As an optional third parameter, you can pass a
|
||||||
<parameter>$compile_id</parameter>.
|
<parameter>$compile_id</parameter>.
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
for more information on how to set up an output filter function.
|
for more information on how to set up an output filter function.
|
||||||
</para>
|
</para>
|
||||||
&api.register.snippet;
|
&api.register.snippet;
|
||||||
|
¬e.parameter.function;
|
||||||
<para>
|
<para>
|
||||||
See also
|
See also
|
||||||
<link linkend="api.unregister.outputfilter"><varname>unregister_outputfilter()</varname></link>,
|
<link linkend="api.unregister.outputfilter"><varname>unregister_outputfilter()</varname></link>,
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
more information on how to setup a postfiltering function.
|
more information on how to setup a postfiltering function.
|
||||||
</para>
|
</para>
|
||||||
&api.register.snippet;
|
&api.register.snippet;
|
||||||
|
¬e.parameter.function;
|
||||||
<para>
|
<para>
|
||||||
See also
|
See also
|
||||||
<link linkend="api.unregister.postfilter">
|
<link linkend="api.unregister.postfilter">
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
more information on how to setup a prefiltering function.
|
more information on how to setup a prefiltering function.
|
||||||
</para>
|
</para>
|
||||||
&api.register.snippet;
|
&api.register.snippet;
|
||||||
|
¬e.parameter.function;
|
||||||
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user