cvs: smarty /docs/en/programmers/api-functions api-register-function.xml
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1100795544@cvsserver> |
messju Thu Nov 18 11:32:24 2004 EDT
Modified files:
/smarty/docs/en/programmers/api-functions api-register-function.xml
Log:
the 3rd and 4th parameter of register_function() are optional.
sry i forgot who pointed that out quite some time ago.
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-functions/api-register-function.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/programmers/api-functions/api-register-function.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-function.xml:1.2 smarty/docs/en/programmers/api-functions/api-register-function.xml:1.3
--- smarty/docs/en/programmers/api-functions/api-register-function.xml:1.2 Sun Apr 18 15:22:55 2004
+++ smarty/docs/en/programmers/api-functions/api-register-function.xml Thu Nov 18 11:32:24 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="api.register.function">
<refnamediv>
<refname>register_function</refname>
@@ -11,8 +11,8 @@
<type>void</type><methodname>register_function</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>mixed</type><parameter>impl</parameter></methodparam>
- <methodparam><type>bool</type><parameter>cacheable</parameter></methodparam>
- <methodparam><type>mixed</type><parameter>cache_attrs</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>cacheable</parameter></methodparam>
+ <methodparam choice="opt"><type>mixed</type><parameter>cache_attrs</parameter></methodparam>
</methodsynopsis>
<para>
Use this to dynamically register template function plugins.
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php