Manual do PHP
Anterior |  | Próxima

# yaz_set_option

(PHP 5)

yaz_set_option -- Sets one or more options for connection

## Description

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

Sets option name to value.

Tabela 1. PYP/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()
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(). First record is numbered has a start value of 0. Second record has start value 1. 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().

Anterior | Principal | Próxima
yaz_search | Acima | yaz_sort