mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
77 lines
2.5 KiB
HTML
77 lines
2.5 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 schema for retrieval</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.yaz-schema" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">yaz_schema</h1>
|
|
<p class="verinfo">(PHP 4 >= 4.2.0, PECL yaz >= 0.9.0)</p><p class="refpurpose"><span class="refname">yaz_schema</span> — <span class="dc-title">
|
|
Specifies schema for retrieval
|
|
</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.yaz-schema-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>yaz_schema</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$id</code></span>
|
|
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$schema</code></span>
|
|
) : <span class="type"><span class="type void">void</span></span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
<span class="function"><strong>yaz_schema()</strong></span> specifies the schema for retrieval.
|
|
</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-schema-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">schema</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Must be specified as an OID (Object Identifier) in a raw dot-notation
|
|
(like <em>1.2.840.10003.13.4</em>) or as one of the known
|
|
registered schemas: <em>GILS-schema</em>,
|
|
<em>Holdings</em>, <em>Zthes</em>, ...
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.yaz-schema-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
没有返回值。
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |