<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.yaz-scan-result.php',
    1 => 'yaz_scan_result',
    2 => 'Returns Scan Response result',
  ),
  'up' => 
  array (
    0 => 'ref.yaz.php',
    1 => 'YAZ Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.yaz-scan.php',
    1 => 'yaz_scan',
  ),
  'next' => 
  array (
    0 => 'function.yaz-schema.php',
    1 => 'yaz_schema',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/yaz/functions/yaz-scan-result.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.yaz-scan-result" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">yaz_scan_result</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5, PECL yaz &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">yaz_scan_result</span> &mdash; <span class="dc-title">Returns Scan Response result</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.yaz-scan-result-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>yaz_scan_result</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="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter reference">&$result</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>yaz_scan_result()</strong></span> returns terms and associated
   information as received from the server in the last performed
   <span class="function"><a href="function.yaz-scan.php" class="function">yaz_scan()</a></span>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.yaz-scan-result-parameters">
  <h3 class="title">Elenco dei parametri</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>
    
    
     <dt><code class="parameter">result</code></dt>
     <dd>
      <p class="para">
       If given, this array will be modified to hold additional information 
       taken from the Scan Response:
       <ul class="itemizedlist">
        <li class="listitem">
         <p class="para">
          <code class="literal">number</code> - Number of entries returned
         </p>
        </li> 
        <li class="listitem">
         <p class="para">
          <code class="literal">stepsize</code> - Step size
         </p>
        </li> 
        <li class="listitem">
         <p class="para">
          <code class="literal">position</code> - Position of term
         </p>
        </li> 
        <li class="listitem">
         <p class="para">
          <code class="literal">status</code> - Scan status
         </p>
        </li> 
       </ul>
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.yaz-scan-result-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Returns an array (0..n-1) where n is the number of terms returned. Each 
   value is a pair where the first item is the term, and the second item is 
   the result-count.
  </p>
 </div>

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