yaz_hits

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Returns number of hits for last search int yaz_hits ( resource $id [, array &$searchresult ] ) yaz_hits() returns the number of hits for the last search. Parameters: id The connection resource returned by yaz_connect(). searchresult Result array for detailed search result information.

yaz_get_option

(PECL yaz >= 0.9.0) Returns value of option for connection string yaz_get_option ( resource $id, string $name ) Returns the value of the option specified with name. Parameters: id The connection resource returned by yaz_connect(). name The option name. Returns: Returns the value of the specified option or an

yaz_es

(PECL yaz >= 0.9.0) Prepares for an Extended Service Request void yaz_es ( resource $id , string $type , array $args ) This function prepares for an Extended Service Request. Extended Services is family of various Z39.50 facilities, such as Record Update, Item Order, Database administration etc. Note: Many Z39.50 Servers do not support Extended Services. The yaz_es() creates an Extended Service Request packages

yaz_es_result

(PHP 4 >= 4.2.0, PECL yaz >= 0.9.0) Inspects Extended Services Result array yaz_es_result ( resource $id ) This function inspects the last returned Extended Service result from a server. An Extended Service is initiated by either yaz_item_order() or yaz_es(). Parameters: id The connection resource returned by yaz_connect(). Returns: Retur

yaz_error

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Returns error description string yaz_error ( resource $id ) yaz_error() returns an English text message corresponding to the last error number as returned by yaz_errno(). Parameters: id The connection resource returned by yaz_connect(). Returns: Returns an error text message for server (last request), ide

yaz_errno

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Returns error number int yaz_errno ( resource $id ) Returns an error number for the server (last request) identified by id. yaz_errno() should be called after network activity for each server - (after yaz_wait() returns) to determine the success or failure of the last operation (e.g. search). Parameters: id The connection resour

yaz_element

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Specifies Element-Set Name for retrieval bool yaz_element ( resource $id, string $elementset ) This function sets the element set name for retrieval. Call this function before yaz_search() or yaz_present() to specify the element set name for records to be retrieved. Note: If this function appears to have no effect, see the description of the piggybacking option in yaz_connect

yaz_database

(PHP 4 >= 4.0.6, PECL yaz >= 0.9.0) Specifies the databases within a session bool yaz_database ( resource $id, string $databases ) This function allows you to change databases within a session by specifying one or more databases to be used in search, retrieval, etc. - overriding databases specified in call to yaz_connect(). Parameters: id The connection resource r

yaz_connect

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Prepares for a connection to a Z39.50 server mixed yaz_connect ( string $zurl [, mixed $options ] ) This function returns a connection resource on success, zero on failure. yaz_connect() prepares for a connection to a Z39.50 server. This function is non-blocking and does not attempt to establish a connection - it merely prepares a connect to be performed later when yaz_wait() is

yaz_close

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) Close YAZ connection bool yaz_close ( resource $id ) Closes the connection given by parameter id. Note: This function will only close a non-persistent connection opened by setting the persistent option to FALSE with yaz_connect(). Parameters: id The connection resource returned by yaz_connect(). Returns: