<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ldap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.ldap-explode-dn.php',
    1 => 'ldap_explode_dn',
    2 => 'Trennt einen DN in seine Bestandteile',
  ),
  'up' => 
  array (
    0 => 'ref.ldap.php',
    1 => 'LDAP Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.ldap-exop-whoami.php',
    1 => 'ldap_exop_whoami',
  ),
  'next' => 
  array (
    0 => 'function.ldap-first-attribute.php',
    1 => 'ldap_first_attribute',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/ldap/functions/ldap-explode-dn.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ldap-explode-dn" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ldap_explode_dn</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ldap_explode_dn</span> &mdash; <span class="dc-title">Trennt einen DN in seine Bestandteile</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ldap-explode-dn-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ldap_explode_dn</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$dn</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$with_attrib</code></span>): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Teilt einen von <span class="function"><a href="function.ldap-get-dn.php" class="function">ldap_get_dn()</a></span> gelieferten DN auf und
   zerlegt ihn in seine Bestandteile. Jeder Teil wird als Relative
   Distinguished Name, RDN, bezeichnet.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ldap-explode-dn-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">dn</code></dt>
     <dd>
      <p class="para">
       Der Distinguished Name eines LDAP-Datenobjekts.
      </p>
     </dd>
    
    
     <dt><code class="parameter">with_attrib</code></dt>
     <dd>
      <p class="para">
       Wird verwendet, um zu bestimmen, ob die RDNs nur mit Werten oder
       zusätzlich mit ihren Merkmalen angefragt werden. Um RDNs mit Merkmalen
       (d.h. im Format Merkmal=Wert) zu erhalten, ist
       <code class="parameter">with_attrib</code> auf 0 zu setzen, um nur Werte zu
       erhalten, auf 1.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ldap-explode-dn-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt ein Array aller DN-Bestandteile zurück, Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben. Das
   erste Element im Array hat einen <code class="literal">count</code>-Schlüssel, und
   stellt die Anzahl der zurückgegebenen Werte dar; die folgenden Elemente
   sind numerisch indexierte DN-Bestandteile.
  </p>
 </div>


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