<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionclass.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'reflectionclass.getinterfacenames.php',
    1 => 'ReflectionClass::getInterfaceNames',
    2 => 'Gets the interface names',
  ),
  'up' => 
  array (
    0 => 'class.reflectionclass.php',
    1 => 'ReflectionClass',
  ),
  'prev' => 
  array (
    0 => 'reflectionclass.getfilename.php',
    1 => 'ReflectionClass::getFileName',
  ),
  'next' => 
  array (
    0 => 'reflectionclass.getinterfaces.php',
    1 => 'ReflectionClass::getInterfaces',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/reflection/reflectionclass/getinterfacenames.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reflectionclass.getinterfacenames" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionClass::getInterfaceNames</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ReflectionClass::getInterfaceNames</span> &mdash; <span class="dc-title">Gets the interface names</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionclass.getinterfacenames-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ReflectionClass::getInterfaceNames</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Get the interface names.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionclass.getinterfacenames-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">Diese Funktion besitzt keine Parameter.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionclass.getinterfacenames-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   A numerical array with interface names as the values.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-reflectionclass.getinterfacenames-examples">
  <h3 class="title">Beispiele</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Beispiel #1 <span class="methodname"><strong>ReflectionClass::getInterfaceNames()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="annotation-interactive phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">interface </span><span style="color: #0000BB">Foo </span><span style="color: #007700">{ }<br /><br />interface </span><span style="color: #0000BB">Bar </span><span style="color: #007700">{ }<br /><br />class </span><span style="color: #0000BB">Baz </span><span style="color: #007700">implements </span><span style="color: #0000BB">Foo</span><span style="color: #007700">, </span><span style="color: #0000BB">Bar </span><span style="color: #007700">{ }<br /><br /></span><span style="color: #0000BB">$rc1 </span><span style="color: #007700">= new </span><span style="color: #0000BB">ReflectionClass</span><span style="color: #007700">(</span><span style="color: #DD0000">"Baz"</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$rc1</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getInterfaceNames</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>Das oben gezeigte Beispiel erzeugt
eine ähnliche Ausgabe wie:</p></div>
    <div class="example-contents screen">
<div class="annotation-interactive examplescode"><pre class="examplescode">Array
(
    [0] =&gt; Foo
    [1] =&gt; Bar
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionclass.getinterfacenames-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="reflectionclass.getinterfaces.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::getInterfaces()</a> - Gets the interfaces</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>