<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.solrquery.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'solrquery.gettimeallowed.php',
    1 => 'SolrQuery::getTimeAllowed',
    2 => 'Returns the time in milliseconds allowed for the query to finish',
  ),
  'up' => 
  array (
    0 => 'class.solrquery.php',
    1 => 'SolrQuery',
  ),
  'prev' => 
  array (
    0 => 'solrquery.gettermsupperbound.php',
    1 => 'SolrQuery::getTermsUpperBound',
  ),
  'next' => 
  array (
    0 => 'solrquery.removeexpandfilterquery.php',
    1 => 'SolrQuery::removeExpandFilterQuery',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/solr/solrquery/gettimeallowed.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="solrquery.gettimeallowed" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SolrQuery::getTimeAllowed</h1>
  <p class="verinfo">(PECL solr &gt;= 0.9.2)</p><p class="refpurpose"><span class="refname">SolrQuery::getTimeAllowed</span> &mdash; <span class="dc-title">Returns the time in milliseconds allowed for the query to finish</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-solrquery.gettimeallowed-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SolrQuery::getTimeAllowed</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
Returns the time in milliseconds allowed for the query to finish.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-solrquery.gettimeallowed-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-solrquery.gettimeallowed-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
Returns and integer on success and <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> if it is not set.
  </p>
 </div>



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