cvs: smarty /docs/en language-snippets.ent /docs/en/programmers/api-functions api-register-outputfilter.xml api-register-postfilter.xml api-register-prefilter.xml

"Danilo Buerger" <[email protected]> Mon, 18 Jun 2007 20:45:33 -0000
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsdanilo1182199533@cvsserver>
danilo		Mon Jun 18 20:45:33 2007 UTC

  Modified files:              
    /smarty/docs/en/programmers/api-functions	
                                             	api-register-outputfilter.xml 
                                             	api-register-prefilter.xml 
                                             	api-register-postfilter.xml 
    /smarty/docs/en	language-snippets.ent 
  Log:
  Updated docs according to the changes from the previous commit
  
http://cvs.php.net/viewvc.cgi/smarty/docs/en/programmers/api-functions/api-register-outputfilter.xml?r1=1.6&r2=1.7&diff_format=u
Index: smarty/docs/en/programmers/api-functions/api-register-outputfilter.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-outputfilter.xml:1.6 smarty/docs/en/programmers/api-functions/api-register-outputfilter.xml:1.7
--- smarty/docs/en/programmers/api-functions/api-register-outputfilter.xml:1.6	Tue Sep 26 23:29:02 2006
+++ smarty/docs/en/programmers/api-functions/api-register-outputfilter.xml	Mon Jun 18 20:45:33 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <refentry id="api.register.outputfilter">
  <refnamediv>
   <refname>register_outputfilter()</refname>
@@ -21,7 +21,7 @@
    for more information on how to set up an output filter function.
   </para>
    &api.register.snippet;
-
+   &note.parameter.function;
 <para>
 See also
 <link linkend="api.unregister.outputfilter"><varname>unregister_outputfilter()</varname></link>,
http://cvs.php.net/viewvc.cgi/smarty/docs/en/programmers/api-functions/api-register-prefilter.xml?r1=1.6&r2=1.7&diff_format=u
Index: smarty/docs/en/programmers/api-functions/api-register-prefilter.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-prefilter.xml:1.6 smarty/docs/en/programmers/api-functions/api-register-prefilter.xml:1.7
--- smarty/docs/en/programmers/api-functions/api-register-prefilter.xml:1.6	Tue Sep 26 23:29:02 2006
+++ smarty/docs/en/programmers/api-functions/api-register-prefilter.xml	Mon Jun 18 20:45:33 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <refentry id="api.register.prefilter">
  <refnamediv>
   <refname>register_prefilter()</refname>
@@ -19,6 +19,7 @@
    more information on how to setup a prefiltering function.
   </para>
  &api.register.snippet;
+ &note.parameter.function;
 
 
     <para>
http://cvs.php.net/viewvc.cgi/smarty/docs/en/programmers/api-functions/api-register-postfilter.xml?r1=1.6&r2=1.7&diff_format=u
Index: smarty/docs/en/programmers/api-functions/api-register-postfilter.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-postfilter.xml:1.6 smarty/docs/en/programmers/api-functions/api-register-postfilter.xml:1.7
--- smarty/docs/en/programmers/api-functions/api-register-postfilter.xml:1.6	Tue Sep 26 23:29:02 2006
+++ smarty/docs/en/programmers/api-functions/api-register-postfilter.xml	Mon Jun 18 20:45:33 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <refentry id="api.register.postfilter">
  <refnamediv>
   <refname>register_postfilter()</refname>
@@ -19,7 +19,7 @@
    more information on how to setup a postfiltering function.
   </para>
    &api.register.snippet;
-
+   &note.parameter.function;
   <para>
   See also
   <link linkend="api.unregister.postfilter">
http://cvs.php.net/viewvc.cgi/smarty/docs/en/language-snippets.ent?r1=1.7&r2=1.8&diff_format=u
Index: smarty/docs/en/language-snippets.ent
diff -u smarty/docs/en/language-snippets.ent:1.7 smarty/docs/en/language-snippets.ent:1.8
--- smarty/docs/en/language-snippets.ent:1.7	Mon Oct 16 16:13:53 2006
+++ smarty/docs/en/language-snippets.ent	Mon Jun 18 20:45:33 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 
 <!ENTITY note.parameter.merge '<note>
  <title>Technical Note</title>
@@ -12,6 +12,17 @@
  </para>
 </note>'>
 
+<!ENTITY note.parameter.function '<note>
+ <title>Technical Note</title>
+ <para>
+  If the chosen <parameter>function</parameter> callback is of the form 
+  <literal>array(&amp;$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>
  As an optional third parameter, you can pass a
  <parameter>$compile_id</parameter>.

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php