<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.dba.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.dba-exists.php',
    1 => 'dba_exists',
    2 => '&Uuml;berpr&uuml;ft, ob ein angegebener Schl&uuml;ssel existiert',
  ),
  'up' => 
  array (
    0 => 'ref.dba.php',
    1 => 'DBA-Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.dba-delete.php',
    1 => 'dba_delete',
  ),
  'next' => 
  array (
    0 => 'function.dba-fetch.php',
    1 => 'dba_fetch',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/dba/functions/dba-exists.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.dba-exists" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dba_exists</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">dba_exists</span> &mdash; <span class="dc-title">Überprüft, ob ein angegebener Schlüssel existiert</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.dba-exists-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>dba_exists</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.array.php" class="type array">array</a></span></span> <code class="parameter">$key</code></span>, <span class="methodparam"><span class="type"><a href="class.dba-connection.php" class="type Dba\Connection">Dba\Connection</a></span> <code class="parameter">$dba</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   <span class="function"><strong>dba_exists()</strong></span> überprüft, ob der angegebene
   <code class="parameter">Schlüssel</code> in der Datenbank existiert.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.dba-exists-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">key</code></dt>
    <dd>
     <span class="simpara">
      Der Schlüssel, für den die Überprüfung durchgeführt wird.
     </span>
    </dd>
   
   
    <dt><code class="parameter">dba</code></dt>
    <dd>
     <span class="simpara">
      Eine von <span class="function"><a href="function.dba-open.php" class="function">dba_open()</a></span> oder <span class="function"><a href="function.dba-popen.php" class="function">dba_popen()</a></span> zurückgegebene Instanz von <span class="classname"><a href="class.dba-connection.php" class="classname">Dba\Connection</a></span>.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.dba-exists-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   Gibt <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück, falls der Schlüssel existiert und andernfalls <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.dba-exists-changelog">
  <h3 class="title">Changelog</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Beschreibung</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.4.0</td>
 <td>
  Der Parameter <code class="parameter">dba</code> erwartet nun eine Instanz von <span class="classname"><a href="class.dba-connection.php" class="classname">Dba\Connection</a></span>;
  zuvor wurde eine gültige <code class="literal">dba</code>-<a href="language.types.resource.php" class="link">Ressource</a> erwartet.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.dba-exists-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.dba-delete.php" class="function" rel="rdfs-seeAlso">dba_delete()</a> - L&ouml;scht den zum angegebenen Schl&uuml;ssel geh&ouml;rigen DBA-Eintrag</span></li>
   <li><span class="function"><a href="function.dba-fetch.php" class="function" rel="rdfs-seeAlso">dba_fetch()</a> - Liest die Daten zu einem angegebenen Schl&uuml;ssel aus</span></li>
   <li><span class="function"><a href="function.dba-insert.php" class="function" rel="rdfs-seeAlso">dba_insert()</a> - F&uuml;gt einen Eintrag ein</span></li>
   <li><span class="function"><a href="function.dba-replace.php" class="function" rel="rdfs-seeAlso">dba_replace()</a> - Ersetzt einen Eintrag oder f&uuml;gt ihn ein</span></li>
  </ul>
 </div>


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