mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Switch to new doc style
And fix class_name which is not optional git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227339 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8e0631df43
commit
529cabaf98
1 changed files with 38 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue