YAZ_ADDINFO(3) 1 YAZ_ADDINFO(3)yaz_addinfo - Returns additional error informationSYNOPSIS
string yaz_addinfo (resource $id)
DESCRIPTION
Returns additional error information for the last request on the server.
With some servers, this function may return the same string as yaz_error(3).
PARAMETERS
o $id
- The connection resource returned by yaz_connect(3).
RETURN VALUES
A string containing additional error information or an empty string if the last operation was successful or if no additional information
was provided by the server.
SEE ALSO yaz_error(3), yaz_errno(3).
PHP Documentation Group YAZ_ADDINFO(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 connectionSYNOPSIS
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)