nlopess Mon Apr 11 11:21:21 2005 EDT
Modified files: /phpdoc/en/reference/spl/functions class-implements.xml class-parents.xml Log: switch to new style and document the ability to pass strings in PHP 5.1 http://cvs.php.net/diff.php/phpdoc/en/reference/spl/functions/class-implements.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/spl/functions/class-implements.xml diff -u phpdoc/en/reference/spl/functions/class-implements.xml:1.3 phpdoc/en/reference/spl/functions/class-implements.xml:1.4 --- phpdoc/en/reference/spl/functions/class-implements.xml:1.3 Mon Apr 11 11:11:37 2005 +++ phpdoc/en/reference/spl/functions/class-implements.xml Mon Apr 11 11:21:20 2005 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.class-implements"> <refnamediv> <refname>class_implements</refname> @@ -7,16 +7,68 @@ Return the interfaces which are implemented by the given class </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>class_implements</methodname> - <methodparam><type>object</type><parameter>class</parameter></methodparam> + <methodparam><type>mixed</type><parameter>class</parameter></methodparam> </methodsynopsis> <para> This function returns an array with the name of the interfaces that the given <parameter>class</parameter> implements. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>class</parameter></term> + <listitem> + <para> + An object or a string of the class + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array or &false; on error. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.1.0</entry> + <entry> + Added the option to pass the parameter as a string + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>class_implements</function> example</title> @@ -44,6 +96,15 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>class_parents</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc/en/reference/spl/functions/class-parents.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/spl/functions/class-parents.xml diff -u phpdoc/en/reference/spl/functions/class-parents.xml:1.2 phpdoc/en/reference/spl/functions/class-parents.xml:1.3 --- phpdoc/en/reference/spl/functions/class-parents.xml:1.2 Mon Apr 11 11:11:38 2005 +++ phpdoc/en/reference/spl/functions/class-parents.xml Mon Apr 11 11:21:21 2005 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="function.class-parents"> <refnamediv> <refname>class_parents</refname> @@ -7,16 +7,67 @@ Return the parent classes of the given class </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>class_parents</methodname> - <methodparam><type>object</type><parameter>class</parameter></methodparam> + <methodparam><type>mixed</type><parameter>class</parameter></methodparam> </methodsynopsis> <para> This function returns an array with the name of the parent classes of the given <parameter>class</parameter>. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>class</parameter></term> + <listitem> + <para> + An object or a string of the class + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array or &false; on error. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.1.0</entry> + <entry> + Added the option to pass the parameter as a string + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>class_parents</function> example</title> @@ -44,6 +95,15 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>class_implements</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file