PHP Manual
Prev |  | Next

# yaz_set_option

(PHP 5 CVS only)

yaz_set_option -- Sets one or more options for connection

## Description

string yaz_set_option ( resource id, string name, string value)

Sets option `name` to `value`.

Table 1. PYP/YAZ Connection Options

Name | Description
--- | ---
implementationName | implementation name of target
implementationVersion | implementation version of target
implementationId | implementation ID of target
schema | schema for retrieval. By default, no schema is used. Setting this option is equivalent to using function yaz_schema()
preferredRecordSyntax | record syntax for retrieval. By default, no syntax is used. Setting this option is equivalent to using function yaz_syntax()
start | offset for first record to be retrieved via yaz_search() or yaz_present(). Records are numbered from zero and upwards. Setting this option in combination with option `count` has the same effect as calling yaz_range() except that records are numbered from 1 in yaz_range()
count | maximum number of records to be retrieved via yaz_search() or yaz_present().
elementSetName | element-set-name for retrieval. Setting this option is equivalent to calling yaz_element().

Prev | Home | Next
yaz_search | Up | yaz_sort