array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.yaz-syntax.php', 1 => 'yaz_syntax', 2 => 'Specifies the preferred record syntax for retrieval', ), 'up' => array ( 0 => 'ref.yaz.php', 1 => 'YAZ Funktionen', ), 'prev' => array ( 0 => 'function.yaz-sort.php', 1 => 'yaz_sort', ), 'next' => array ( 0 => 'function.yaz-wait.php', 1 => 'yaz_wait', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/yaz/functions/yaz-syntax.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

yaz_syntax

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)

yaz_syntax Specifies the preferred record syntax for retrieval

Beschreibung

yaz_syntax(resource $id, string $syntax): void

yaz_syntax() specifies the preferred record syntax for retrieval

This function should be called before yaz_search() or yaz_present().

Parameter-Liste

id

The connection resource returned by yaz_connect().

syntax

The syntax must be specified as an OID (Object Identifier) in a raw dot-notation (like 1.2.840.10003.5.10) or as one of the known registered record syntaxes (sutrs, usmarc, grs1, xml, etc.).

Rückgabewerte

Es wird kein Wert zurückgegeben.