mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Documentation for yaz_database.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43452 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5c1f8a5852
commit
510ef4e605
1 changed files with 40 additions and 5 deletions
|
@ -164,8 +164,7 @@ if (empty($term) || count($host) == 0) {
|
|||
<refnamediv>
|
||||
<refname>yaz_connect</refname>
|
||||
<refpurpose>
|
||||
Prepares for a connection and Z-association with a target.
|
||||
Returns a positive association ID on success; zero on failure
|
||||
Prepares for a connection and Z-association to a Z39.50 target.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -181,6 +180,10 @@ if (empty($term) || count($host) == 0) {
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function returns a positive ID on success; zero on
|
||||
failure.
|
||||
</para>
|
||||
<para>
|
||||
<function>Yaz_connect</function> prepares for a connection to a
|
||||
Z39.50 target. The zurl argument takes the form
|
||||
|
@ -210,8 +213,8 @@ if (empty($term) || count($host) == 0) {
|
|||
Returns error for target (last request). A positive value is
|
||||
returned if the target returned a diagnostic code; a value of
|
||||
zero is returned if no errors occurred (success); negative value
|
||||
is returned for other errors targets didn't indicate the error in
|
||||
question.
|
||||
is returned for other errors (such as when the target
|
||||
closed connection, etc).
|
||||
</para>
|
||||
<para>
|
||||
<function>yaz_errno</function> should be called after network
|
||||
|
@ -231,7 +234,7 @@ if (empty($term) || count($host) == 0) {
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>yaz_error</function></funcdef>
|
||||
<funcdef>string <function>yaz_error</function></funcdef>
|
||||
<paramdef>int <parameter>id</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
|
@ -296,6 +299,38 @@ if (empty($term) || count($host) == 0) {
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.yaz-database">
|
||||
<refnamediv>
|
||||
<refname>yaz_database</refname>
|
||||
<refpurpose>
|
||||
Specifies the databases within a session
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>yaz_database</function></funcdef>
|
||||
<paramdef>int <parameter>id</parameter></paramdef>
|
||||
<paramdef>string <parameter>databases</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function specifies one or more databases to be used in search,
|
||||
retrieval, etc. - overriding databases specified in call to
|
||||
<function>yaz_connect</function>. Multiple databases are
|
||||
separated by a plus sign <literal>+</literal>.
|
||||
</para>
|
||||
<para>
|
||||
This function allows you to use different sets of databases within
|
||||
a session.
|
||||
</para>
|
||||
<para>
|
||||
Returns true on success; false on error.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.yaz-range">
|
||||
<refnamediv>
|
||||
<refname>yaz_range</refname>
|
||||
|
|
Loading…
Reference in a new issue