<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.yaz.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.yaz-present.php',
    1 => 'yaz_present',
    2 => 'Prepares for retrieval (Z39.50 present)',
  ),
  'up' => 
  array (
    0 => 'ref.yaz.php',
    1 => 'YAZ 函数',
  ),
  'prev' => 
  array (
    0 => 'function.yaz-itemorder.php',
    1 => 'yaz_itemorder',
  ),
  'next' => 
  array (
    0 => 'function.yaz-range.php',
    1 => 'yaz_range',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/yaz/functions/yaz-present.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.yaz-present" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">yaz_present</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5, PECL yaz &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">yaz_present</span> &mdash; <span class="dc-title">
   Prepares for retrieval (Z39.50 present)
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.yaz-present-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>yaz_present</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$id</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   This function prepares for retrieval of records after a successful search.
  </p>
  <p class="para">
   The <span class="function"><a href="function.yaz-range.php" class="function">yaz_range()</a></span> function should be called prior to this
   function to specify the range of records to be retrieved. 
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.yaz-present-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">id</code></dt>
     <dd>
      <p class="para">
       The connection resource returned by <span class="function"><a href="function.yaz-connect.php" class="function">yaz_connect()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.yaz-present-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>， 或者在失败时返回 <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>。
  </p>
 </div>

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