Home > PHP > Function > YAZ > yaz_get_option()

yaz_get_option()

yaz_get_option - Returns value of option for connection

Syntax

string yaz_get_option (resource $id, string $name)

Arguments

  • id - The connection resource returned by yaz_connect().
  • name - The option name.

Description

Returns the value of the option specified with name.

Version

PHP PECL yaz >= 0.9.0

Return value

Returns the value of the specified option or an empty string if the option wasn't set.