mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
88 lines
2.8 KiB
HTML
88 lines
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Specifies a range of records to retrieve</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.yaz-range" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">yaz_range</h1>
|
|
<p class="verinfo">(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)</p><p class="refpurpose"><span class="refname">yaz_range</span> — <span class="dc-title">
|
|
Specifies a range of records to retrieve
|
|
</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.yaz-range-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>yaz_range</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$id</code></span>
|
|
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$start</code></span>
|
|
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$number</code></span>
|
|
) : <span class="type"><span class="type void">void</span></span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Specifies a range of records to retrieve.
|
|
</p>
|
|
<p class="para">
|
|
This function should be called before <span class="function"><a href="yaz_search.html" class="function">yaz_search()</a></span> or
|
|
<span class="function"><a href="yaz_present.html" class="function">yaz_present()</a></span>.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.yaz-range-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="yaz_connect.html" class="function">yaz_connect()</a></span>.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">start</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Specifies the position of the first record to be retrieved. The
|
|
records numbers goes from 1 to <span class="function"><a href="yaz_hits.html" class="function">yaz_hits()</a></span>.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">number</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Specifies the number of records to be retrieved.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.yaz-range-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
没有返回值。
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |