<?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-cursorinterface.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'mongodb-driver-cursorinterface.isdead.php',
    1 => 'MongoDB\\Driver\\CursorInterface::isDead',
    2 => 'Checks if the cursor may have additional results',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-driver-cursorinterface.php',
    1 => 'MongoDB\\Driver\\CursorInterface',
  ),
  'prev' => 
  array (
    0 => 'mongodb-driver-cursorinterface.getserver.php',
    1 => 'MongoDB\\Driver\\CursorInterface::getServer',
  ),
  'next' => 
  array (
    0 => 'mongodb-driver-cursorinterface.settypemap.php',
    1 => 'MongoDB\\Driver\\CursorInterface::setTypeMap',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/mongodb/driver/cursorinterface/isdead.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-driver-cursorinterface.isdead" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\Driver\CursorInterface::isDead</h1>
  <p class="verinfo">(mongodb &gt;=1.6.0)</p><p class="refpurpose"><span class="refname">MongoDB\Driver\CursorInterface::isDead</span> &mdash; <span class="dc-title">Checks if the cursor may have additional results</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-driver-cursorinterface.isdead-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\Driver\CursorInterface::isDead</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Checks whether the cursor may have additional results available to read. A
   cursor is initially &quot;alive&quot; but may become &quot;dead&quot; for any of the following
   reasons:
   <ul class="simplelist">
    <li>Advancing a non-tailable cursor did not return a document</li>
    <li>The cursor encountered an error</li>
    <li>The cursor read its last batch to completion</li>
    <li>The cursor reached its configured limit</li>
   </ul>
   This is primarily useful with tailable cursors.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-driver-cursorinterface.isdead-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">У цієї функції немає
параметрів.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mongodb-driver-cursorinterface.isdead-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if additional results are not available, and <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
   otherwise.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-mongodb-driver-cursorinterface.isdead-errors">
  <h3 class="title">Помилки/виключення</h3>
  <ul class="simplelist">
   <li>У разі помилки обробки параметрів
викидається
<span class="classname"><a href="class.mongodb-driver-exception-invalidargumentexception.php" class="classname">MongoDB\Driver\Exception\InvalidArgumentException</a></span>.</li>
  </ul>
 </div>


 <div class="refsect1 seealso" id="refsect1-mongodb-driver-cursorinterface.isdead-seealso">
  <h3 class="title">Прогляньте також</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="mongodb-driver-cursor.isdead.php" class="methodname" rel="rdfs-seeAlso">MongoDB\Driver\Cursor::isDead()</a> - Checks if the cursor is exhausted or may have additional results</span></li>
  </ul>
 </div>


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