initial docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@154842 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2004-03-29 13:19:05 +00:00
parent 1c66595b5c
commit 52fe5fd3b2

View file

@ -0,0 +1,71 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.get-declared-interfaces">
<refnamediv>
<refname>get_declared_interfaces</refname>
<refpurpose>
Returns an array of all declared interfaces.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>get_declared_interfaces</methodname>
<void/>
</methodsynopsis>
<para>
This function returns an array of the names of the declared interfaces
in the current script.
</para>
<para>
<example>
<title><function>get_declared_interfaces</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
print_r(get_declared_interfaces());
?>
]]>
</programlisting>
<para>
The above example will output something similar to: :
</para>
<screen>
<![CDATA[
Array
(
[0] => Traversable
[1] => IteratorAggregate
[2] => Iterator
[3] => ArrayAccess
[4] => reflector
[5] => RecursiveIterator
[6] => SeekableIterator
)
]]>
</screen>
</example>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->