Podręcznik PHP
Poprzedni |  | Następny

# 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`.

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().

Poprzedni | Spis treści | Następny
yaz_search | Początek rozdziału | yaz_sort