array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.yaz-scan-result.php', 1 => 'yaz_scan_result', ), 'up' => array ( 0 => 'ref.yaz.php', 1 => 'YAZ 函数', ), 'prev' => array ( 0 => 'function.yaz-record.php', 1 => 'yaz_record', ), 'next' => array ( 0 => 'function.yaz-scan.php', 1 => 'yaz_scan', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/yaz/functions/yaz-scan-result.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.5, PECL yaz >= 0.9.0)
yaz_scan_result — Returns Scan Response result
yaz_scan_result() returns terms and associated information as received from the server in the last performed yaz_scan().
id
The connection resource returned by yaz_connect().
result
If given, this array will be modified to hold additional information taken from the Scan Response:
number
- Number of entries returned
stepsize
- Step size
position
- Position of term
status
- Scan status
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.