<?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-session.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'mongodb-driver-session.getclustertime.php',
    1 => 'MongoDB\\Driver\\Session::getClusterTime',
    2 => 'Returns the cluster time for this session',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-driver-session.php',
    1 => 'MongoDB\\Driver\\Session',
  ),
  'prev' => 
  array (
    0 => 'mongodb-driver-session.endsession.php',
    1 => 'MongoDB\\Driver\\Session::endSession',
  ),
  'next' => 
  array (
    0 => 'mongodb-driver-session.getlogicalsessionid.php',
    1 => 'MongoDB\\Driver\\Session::getLogicalSessionId',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/mongodb/driver/session/getclustertime.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-driver-session.getclustertime" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\Driver\Session::getClusterTime</h1>
  <p class="verinfo">(mongodb &gt;=1.4.0)</p><p class="refpurpose"><span class="refname">MongoDB\Driver\Session::getClusterTime</span> &mdash; <span class="dc-title">Returns the cluster time for this session</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-driver-session.getclustertime-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\Driver\Session::getClusterTime</strong></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.object.php" class="type object">object</a></span></span></div>

  <p class="para rdfs-comment">
   Returns the cluster time for this session. If the session has not been used
   for any operation and
   <span class="methodname"><a href="mongodb-driver-session.advanceclustertime.php" class="methodname">MongoDB\Driver\Session::advanceClusterTime()</a></span> has not
   been called, the cluster time will be <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>.
  </p>
 </div>


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


 <div class="refsect1 returnvalues" id="refsect1-mongodb-driver-session.getclustertime-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns the cluster time for this session, or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> if the session has no
   cluster time.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-mongodb-driver-session.getclustertime-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-session.getclustertime-seealso">
  <h3 class="title">Прогляньте також</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="mongodb-driver-session.advanceclustertime.php" class="methodname" rel="rdfs-seeAlso">MongoDB\Driver\Session::advanceClusterTime()</a> - Advances the cluster time for this session</span></li>
  </ul>
 </div>


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