yaz_sort

(PHP 4 >= 4.0.7, PECL yaz >= 0.9.0) Sets sorting criteria void yaz_sort ( resource $id, string $criteria ) This function sets sorting criteria and enables Z39.50 Sort. Call this function before yaz_search(). Using this function alone does not have any effect. When used in conjunction with yaz_search(), a Z39.50 Sort will be sent after a search response has been received and before any records are retrieved with Z39.

yaz_set_option

(PECL yaz >= 0.9.0) Sets one or more options for connection void yaz_set_option ( resource $id, string $name, string $value ) void yaz_set_option ( resource $id , array $options ) Sets one or more options on the given connection. Parameters: id The connection resource returned by yaz_connect(). name or options May be either a strin

yaz_search

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Prepares for a search bool yaz_search ( resource $id, string $type, string $query ) yaz_search() prepares for a search on the given connection. Like yaz_connect() this function is non-blocking and only prepares for a search to be executed later when yaz_wait() is called. Parameters: id The connection resource returned by yaz_con

yaz_schema

(PHP 4 >= 4.2.0, PECL yaz >= 0.9.0) Specifies schema for retrieval void yaz_schema ( resource $id, string $schema ) yaz_schema() specifies the schema for retrieval. This function should be called before yaz_search() or yaz_present(). Parameters: id The connection resource returned by yaz_connect(). schema Must be specified as

yaz_scan

(PHP 4 >= 4.0.5, PECL yaz >= 0.9.0) Prepares for a scan void yaz_scan ( resource $id, string $type, string $startterm [, array $flags ] ) This function prepares for a Z39.50 Scan Request on the specified connection. To actually transfer the Scan Request to the server and receive the Scan Response, yaz_wait() must be called. Upon completion of yaz_wait() call yaz_error() and yaz_scan_result() to handle the response.

yaz_scan_result

(PHP 4 >= 4.0.5, PECL yaz >= 0.9.0) Returns Scan Response result array yaz_scan_result ( resource $id [, array &$result ] ) yaz_scan_result() returns terms and associated information as received from the server in the last performed yaz_scan(). Parameters: id The connection resource returned by yaz_connect(). result If given,

yaz_record

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Returns a record string yaz_record ( resource $id, int $pos, string $type ) The yaz_record() function inspects a record in the current result set at the position specified by parameter pos. Parameters: id The connection resource returned by yaz_connect(). pos The record position. Records positio

yaz_range

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Specifies a range of records to retrieve void yaz_range ( resource $id, int $start, int $number ) Specifies a range of records to retrieve. This function should be called before yaz_search() or yaz_present(). Parameters: id The connection resource returned by yaz_connect(). start Specifies

yaz_present

(PHP 4 >= 4.0.5, PECL yaz >= 0.9.0) Prepares for retrieval (Z39.50 present) bool yaz_present ( resource $id ) This function prepares for retrieval of records after a successful search. The yaz_range() function should be called prior to this function to specify the range of records to be retrieved. Parameters: id The connection resource returned by yaz_connect().

yaz_itemorder

(PHP 4 >= 4.0.5, PECL yaz >= 0.9.0) Prepares for Z39.50 Item Order with an ILL-Request package void yaz_itemorder ( resource $id, array $args ) This function prepares for an Extended Services request using the Profile for the Use of Z39.50 Item Order Extended Service to Transport ILL (Profile/1). See » this and the » specification. Parameters: id The connection r