<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mongodb-driver-cursor.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'mongodb-driver-cursor.key.php',
    1 => 'MongoDB\\Driver\\Cursor::key',
    2 => 'Renvoie le num&eacute;ro de l\'index du r&eacute;sultat courant dans le curseur',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-driver-cursor.php',
    1 => 'MongoDB\\Driver\\Cursor',
  ),
  'prev' => 
  array (
    0 => 'mongodb-driver-cursor.isdead.php',
    1 => 'MongoDB\\Driver\\Cursor::isDead',
  ),
  'next' => 
  array (
    0 => 'mongodb-driver-cursor.next.php',
    1 => 'MongoDB\\Driver\\Cursor::next',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mongodb/mongodb/driver/cursor/key.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-driver-cursor.key" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\Driver\Cursor::key</h1>
  <p class="verinfo">(mongodb &gt;=1.9.0)</p><p class="refpurpose"><span class="refname">MongoDB\Driver\Cursor::key</span> &mdash; <span class="dc-title">Renvoie le numéro de l&#039;index du résultat courant dans le curseur</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-driver-cursor.key-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\Driver\Cursor::key</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-driver-cursor.key-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">Cette fonction ne contient aucun paramètre.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mongodb-driver-cursor.key-returnvalues">
  <h3 class="title">Valeurs de retour</h3>  
  <p class="para">
   Renvoie l&#039;index numérique du résultat actuel dans le curseur.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mongodb-driver-cursor.key-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="iterator.key.php" class="methodname" rel="rdfs-seeAlso">Iterator::key()</a> - Retourne la cl&eacute; de l'&eacute;l&eacute;ment courant</span></li>
  </ul>
 </div>

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