git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184148 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2005-04-11 15:11:38 +00:00
parent 9b87277553
commit e20a4c53c1
2 changed files with 60 additions and 60 deletions

View file

@ -1,26 +1,26 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<refentry id="function.class-implements">
<refnamediv>
<refname>class_implements</refname>
<refpurpose>
Return the interfaces which are implemented by the given class
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>class_implements</methodname>
<methodparam><type>object</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>
<para>
<example>
<title><function>class_implements</function> example</title>
<programlisting role="php">
<!-- $Revision: 1.3 $ -->
<refentry id="function.class-implements">
<refnamediv>
<refname>class_implements</refname>
<refpurpose>
Return the interfaces which are implemented by the given class
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>class_implements</methodname>
<methodparam><type>object</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>
<para>
<example>
<title><function>class_implements</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@ -31,20 +31,20 @@ print_r(class_implements(new bar));
?>
]]>
</programlisting>
&example.outputs;
<screen>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Array
(
[foo] => foo
)
]]>
</screen>
</example>
</para>
</refsect1>
</refentry>
</screen>
</example>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:

View file

@ -1,26 +1,26 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.class-parents">
<refnamediv>
<refname>class_parents</refname>
<refpurpose>
Return the parent classes of the given class
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>class_parents</methodname>
<methodparam><type>object</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>
<para>
<example>
<title><function>class_parents</function> example</title>
<programlisting role="php">
<!-- $Revision: 1.2 $ -->
<refentry id="function.class-parents">
<refnamediv>
<refname>class_parents</refname>
<refpurpose>
Return the parent classes of the given class
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>class_parents</methodname>
<methodparam><type>object</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>
<para>
<example>
<title><function>class_parents</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@ -31,20 +31,20 @@ print_r(class_parents(new bar));
?>
]]>
</programlisting>
&example.outputs;
<screen>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Array
(
[foo] => foo
)
]]>
</screen>
</example>
</para>
</refsect1>
</refentry>
</screen>
</example>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables: