php man page for yaz_ccl_conf

Query: yaz_ccl_conf

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

YAZ_CCL_CONF(3) 							 1							   YAZ_CCL_CONF(3)

yaz_ccl_conf - Configure CCL parser

SYNOPSIS
void yaz_ccl_conf (resource $id, array $config)
DESCRIPTION
This function configures the CCL query parser for a server with definitions of access points (CCL qualifiers) and their mapping to RPN. To map a specific CCL query to RPN afterwards call the yaz_ccl_parse(3) function.
PARAMETERS
o $id - The connection resource returned by yaz_connect(3). o $config - An array of configuration. Each key of the array is the name of a CCL field and the corresponding value holds a string that specifies a mapping to RPN. The mapping is a sequence of attribute-type, attribute-value pairs. Attribute-type and attribute- value is separated by an equal sign ( =). Each pair is separated by white space. Additional information can be found on the CCL page.
RETURN VALUES
No value is returned.
EXAMPLES
In the example below, the CCL parser is configured to support three CCL fields: ti, au and isbn. Each field is mapped to their BIB-1 equivalent. It is assumed that variable $id is the connection ID. Example #1 CCL configuration <?php $fields = array( "ti" => "1=4", "au" => "1=1", "isbn" => "1=7" ); yaz_ccl_conf($id, $fields); ?>
SEE ALSO
yaz_ccl_parse(3). PHP Documentation Group YAZ_CCL_CONF(3)
Related Man Pages
xml_set_element_handler(3) - php
hw_getobject(3) - php
pg_fetch_all(3) - php
yaz_ccl_conf(3) - php
yaz_scan(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch