YAZ_SET_OPTION(3) 1 YAZ_SET_OPTION(3)yaz_set_option - Sets one or more options for connectionSYNOPSIS
void yaz_set_option (resource $id, string $name, string $value)
DESCRIPTION
void yaz_set_option (resource $id, array $options)
Sets one or more options on the given connection.
PARAMETERS
o $id
- The connection resource returned by yaz_connect(3).
o $name or $options
- May be either a string or an array. If given as a string, this will be the name of the option to set. You'll need to give it's
$value. If given as an array, this will be an associative array (option name => option value).
PHP/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(3) |
| | |
|preferredRecordSyntax | |
| | |
| | record syntax for retrieval. By default, no syn- |
| | tax is used. Setting this option is equivalent to |
| | using function yaz_syntax(3) |
| | |
| start | |
| | |
| | offset for first record to be retrieved via |
| | yaz_search(3) or yaz_present(3). First record is |
| | numbered has a start value of 0. Second record |
| | has start value 1. Setting this option in combi- |
| | nation with option count has the same effect as |
| | calling yaz_range(3) except that records are num- |
| | bered from 1 in yaz_range(3) |
| | |
| count | |
| | |
| | maximum number of records to be retrieved via |
| | yaz_search(3) or yaz_present(3). |
| | |
| elementSetName | |
| | |
| | element-set-name for retrieval. Setting this |
| | option is equivalent to calling yaz_element(3). |
| | |
+----------------------+---------------------------------------------------+
o $value
- The new value of the option. Use this only if the previous argument is a string.
RETURN VALUES
No value is returned.
PHP Documentation Group YAZ_SET_OPTION(3)
Check Out this Related Man Page
MYSQLNDUHCONNECTION(3) 1 MYSQLNDUHCONNECTION(3)The MysqlndUhConnection classINTRODUCTION CLASS SYNOPSIS
MysqlndUhConnection
MysqlndUhConnection
Methods
o public bool MysqlndUhConnection::changeUser (mysqlnd_connection $connection, string $user, string $password, string $database, bool
$silent, int $passwd_len)
o public string MysqlndUhConnection::charsetName (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::close (mysqlnd_connection $connection, int $close_type)
o public bool MysqlndUhConnection::connect (mysqlnd_connection $connection, string $host, string $use", string $password, string
$database, int $port, string $socket, int $mysql_flags)
o public MysqlndUhConnection::__construct (void )
o public bool MysqlndUhConnection::endPSession (mysqlnd_connection $connection)
o public string MysqlndUhConnection::escapeString (mysqlnd_connection $connection, string $escape_string)
o public int MysqlndUhConnection::getAffectedRows (mysqlnd_connection $connection)
o public int MysqlndUhConnection::getErrorNumber (mysqlnd_connection $connection)
o public string MysqlndUhConnection::getErrorString (mysqlnd_connection $connection)
o public int MysqlndUhConnection::getFieldCount (mysqlnd_connection $connection)
o public string MysqlndUhConnection::getHostInformation (mysqlnd_connection $connection)
o public int MysqlndUhConnection::getLastInsertId (mysqlnd_connection $connection)
o public void MysqlndUhConnection::getLastMessage (mysqlnd_connection $connection)
o public string MysqlndUhConnection::getProtocolInformation (mysqlnd_connection $connection)
o public string MysqlndUhConnection::getServerInformation (mysqlnd_connection $connection)
o public string MysqlndUhConnection::getServerStatistics (mysqlnd_connection $connection)
o public int MysqlndUhConnection::getServerVersion (mysqlnd_connection $connection)
o public string MysqlndUhConnection::getSqlstate (mysqlnd_connection $connection)
o public array MysqlndUhConnection::getStatistics (mysqlnd_connection $connection)
o public int MysqlndUhConnection::getThreadId (mysqlnd_connection $connection)
o public int MysqlndUhConnection::getWarningCount (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::init (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::killConnection (mysqlnd_connection $connection, int $pid)
o public array MysqlndUhConnection::listFields (mysqlnd_connection $connection, string $table, string $achtung_wild)
o public void MysqlndUhConnection::listMethod (mysqlnd_connection $connection, string $query, string $achtung_wild, string $par1)
o public bool MysqlndUhConnection::moreResults (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::nextResult (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::ping (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::query (mysqlnd_connection $connection, string $query)
o public bool MysqlndUhConnection::queryReadResultsetHeader (mysqlnd_connection $connection, mysqlnd_statement $mysqlnd_stmt)
o public bool MysqlndUhConnection::reapQuery (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::refreshServer (mysqlnd_connection $connection, int $options)
o public bool MysqlndUhConnection::restartPSession (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::selectDb (mysqlnd_connection $connection, string $database)
o public bool MysqlndUhConnection::sendClose (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::sendQuery (mysqlnd_connection $connection, string $query)
o public bool MysqlndUhConnection::serverDumpDebugInformation (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::setAutocommit (mysqlnd_connection $connection, int $mode)
o public bool MysqlndUhConnection::setCharset (mysqlnd_connection $connection, string $charset)
o public bool MysqlndUhConnection::setClientOption (mysqlnd_connection $connection, int $option, int $value)
o public void MysqlndUhConnection::setServerOption (mysqlnd_connection $connection, int $option)
o public void MysqlndUhConnection::shutdownServer (string $MYSQLND_UH_RES_MYSQLND_NAME, string $"level")
o public bool MysqlndUhConnection::simpleCommand (mysqlnd_connection $connection, int $command, string $arg, int $ok_packet, bool
$silent, bool $ignore_upsert_status)
o public bool MysqlndUhConnection::simpleCommandHandleResponse (mysqlnd_connection $connection, int $ok_packet, bool $silent, int $com-
mand, bool $ignore_upsert_status)
o public bool MysqlndUhConnection::sslSet (mysqlnd_connection $connection, string $key, string $cert, string $ca, string $capath,
string $cipher)
o public resource MysqlndUhConnection::stmtInit (mysqlnd_connection $connection)
o public resource MysqlndUhConnection::storeResult (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::txCommit (mysqlnd_connection $connection)
o public bool MysqlndUhConnection::txRollback (mysqlnd_connection $connection)
o public resource MysqlndUhConnection::useResult (mysqlnd_connection $connection)
PHP Documentation Group MYSQLNDUHCONNECTION(3)