cvs: phpdoc /en/reference/overload/functions overload.xml
| From: | Mehdi Achour | Date: | Tue, 16 Jan 2007 01:16:13 +0000 |
| Subject: | cvs: phpdoc /en/reference/overload/functions overload.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374828@lists.php.net to get a copy of this message | ||
didou Tue Jan 16 01:16:13 2007 UTC
Modified files:
/phpdoc/en/reference/overload/functions overload.xml
Log:
Switch to new doc style
And fix class_name which is not optional
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/overload/functions/overload.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/overload/functions/overload.xml
diff -u phpdoc/en/reference/overload/functions/overload.xml:1.4
phpdoc/en/reference/overload/functions/overload.xml:1.5
--- phpdoc/en/reference/overload/functions/overload.xml:1.4 Tue Jan 16 01:09:17 2007
+++ phpdoc/en/reference/overload/functions/overload.xml Tue Jan 16 01:16:13 2007
@@ -1,24 +1,53 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.overload">
<refnamediv>
<refname>overload</refname>
<refpurpose>Enable property and method call overloading for a class</refpurpose>
</refnamediv>
- <refsect1>
- <title>Description</title>
+ <refsect1 role="description">
+ &reftitle.description;
<methodsynopsis>
<type>void</type><methodname>overload</methodname>
- <methodparam
choice="opt"><type>string</type><parameter>class_name</parameter></methodparam>
+
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
</methodsynopsis>
<para>
- The <function>overload</function> function will enable
- property and method call overloading for a class identified
- by <parameter>class_name</parameter>.
- <link linkend="overload.examples">See an example
- in the introductory section of this part</link>.
+ The <function>overload</function> function will enable property and method
+ call overloading for a class identified by <parameter>class_name</parameter>.
</para>
</refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>class_name</parameter></term>
+ <listitem>
+ <para>
+ The overloaded class name, as a string
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.void;
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ See an <link linkend="overload.examples">example</link> in the
+ introductory section of this part.
+ </para>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file