Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yaz_wait(3) [php man page]

YAZ_WAIT(3)								 1							       YAZ_WAIT(3)

yaz_wait - Wait for Z39.50 requests to complete

SYNOPSIS
mixed yaz_wait ([array &$options]) DESCRIPTION
This function carries out networked (blocked) activity for outstanding requests which have been prepared by the functions yaz_connect(3), yaz_search(3), yaz_present(3), yaz_scan(3) and yaz_itemorder(3). yaz_wait(3) returns when all servers have either completed all requests or aborted (in case of errors). PARAMETERS
o $options - An associative array of options: o timeout - Sets timeout in seconds. If a server has not responded within the timeout it is considered dead and yaz_wait(3) returns. The default value for timeout is 15 seconds. o event - A boolean. RETURN VALUES
Returns TRUE on success or FALSE on failure. In event mode, returns resource or FALSE on failure. PHP Documentation Group YAZ_WAIT(3)

Check Out this Related Man Page

YAZ_SET_OPTION(3)							 1							 YAZ_SET_OPTION(3)

yaz_set_option - Sets one or more options for connection

SYNOPSIS
void yaz_set_option (resource $id, string $name, string $value) DESCRIPTION
void yaz_set_option (resource $id, array $options) Sets one or more options on the given connection. PARAMETERS
o $id - The connection resource returned by yaz_connect(3). o $name or $options - May be either a string or an array. If given as a string, this will be the name of the option to set. You'll need to give it's $value. If given as an array, this will be an associative array (option name => option value). PHP/YAZ Connection Options +----------------------+---------------------------------------------------+ | Name | | | | | | | Description | | | | +----------------------+---------------------------------------------------+ | implementationName | | | | | | | implementation name of server | | | | |implementationVersion | | | | | | | implementation version of server | | | | | implementationId | | | | | | | implementation ID of server | | | | | schema | | | | | | | schema for retrieval. By default, no schema is | | | used. Setting this option is equivalent to using | | | function yaz_schema(3) | | | | |preferredRecordSyntax | | | | | | | record syntax for retrieval. By default, no syn- | | | tax is used. Setting this option is equivalent to | | | using function yaz_syntax(3) | | | | | start | | | | | | | offset for first record to be retrieved via | | | yaz_search(3) or yaz_present(3). First record is | | | numbered has a start value of 0. Second record | | | has start value 1. Setting this option in combi- | | | nation with option count has the same effect as | | | calling yaz_range(3) except that records are num- | | | bered from 1 in yaz_range(3) | | | | | count | | | | | | | maximum number of records to be retrieved via | | | yaz_search(3) or yaz_present(3). | | | | | elementSetName | | | | | | | element-set-name for retrieval. Setting this | | | option is equivalent to calling yaz_element(3). | | | | +----------------------+---------------------------------------------------+ o $value - The new value of the option. Use this only if the previous argument is a string. RETURN VALUES
No value is returned. PHP Documentation Group YAZ_SET_OPTION(3)
Man Page