2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-08-03 15:51:11 +00:00
|
|
|
<!-- $Revision: 1.6 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/yaz.xml, last change in rev 1.8 -->
|
|
|
|
<refentry id="function.yaz-scan-result">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>yaz_scan_result</refname>
|
|
|
|
<refpurpose>Returns Scan Response result</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>array</type><methodname>yaz_scan_result</methodname>
|
2003-01-16 09:44:49 +00:00
|
|
|
<methodparam><type>resource</type><parameter>id</parameter></methodparam>
|
2004-08-03 15:51:11 +00:00
|
|
|
<methodparam choice="opt"><type>array</type><parameter>&result</parameter></methodparam>
|
2002-04-15 00:12:54 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2003-01-16 09:44:49 +00:00
|
|
|
<function>yaz_scan_result</function> returns terms and associated
|
2004-01-26 13:42:22 +00:00
|
|
|
information as received from the server in the last performed
|
2003-01-16 09:44:49 +00:00
|
|
|
<function>yaz_scan</function>.
|
2002-04-15 00:12:54 +00:00
|
|
|
This function returns an array (0..n-1) where n is the number
|
2003-06-15 15:21:05 +00:00
|
|
|
of terms returned. Each value is a pair where the first item is the
|
|
|
|
term, and the second item is the result-count.
|
|
|
|
If the optional parameter <parameter>result</parameter> is given it will be
|
|
|
|
modified to hold additional information taken from the Scan Response:
|
2002-04-15 00:12:54 +00:00
|
|
|
<literal>number</literal> (number of entries returned),
|
|
|
|
<literal>stepsize</literal> (Step-size),
|
|
|
|
<literal>position</literal> (position of term),
|
|
|
|
<literal>status</literal> (Scan Status).
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|