CascadiaPHP 2024

Funciones de YAZ

Tabla de contenidos

  • yaz_addinfo — Devuelve un error adicional de información
  • yaz_ccl_conf — Configura el analizador CCL
  • yaz_ccl_parse — Inviocar el analizador Invoke CCL
  • yaz_close — Close YAZ connection
  • yaz_connect — Prepara una conexión a un servidor Z39.50
  • yaz_database — Especifica las bases de datos dentro de una sesión
  • yaz_element — Especifica el nombre del elemento establecido para recuperar
  • yaz_errno — Devuelve el número de error
  • yaz_error — Devuelve la descripción del error
  • yaz_es_result — Resulados de Servicios Extendidos de Inspección
  • yaz_es — Prepara para una solicitud de servicio extendido
  • yaz_get_option — Devuelve el valor de opción para la conexión
  • yaz_hits — Devuelve el número de éxitos de la última búsqueda
  • yaz_itemorder — Prepara para la solicitud Z39.50 Item Order con el paquete ILL-Request
  • yaz_present — Se prepara para la recuperación (Z39.50 presente)
  • yaz_range — Específica un rango de registros a recuperar
  • yaz_record — Devuelve un registro
  • yaz_scan_result — Devuelve el resultado de un escaneado
  • yaz_scan — Prepara para un escaneo YAZ
  • yaz_schema — Especifica el esquema para la recuperación
  • yaz_search — Prepara una búsqueda
  • yaz_set_option — Configura una o más opciones de la conexión
  • yaz_sort — Configura los criterios de búsqueda
  • yaz_syntax — Especifica la sintaxis de registro preferida para la recuperación
  • yaz_wait — Espera que las peticiones Z39.50 se completeten
add a note

User Contributed Notes 4 notes

18 years ago
Straightforward Steps to get PHP Yaz to work on win32:

Download latest verion of php_yaz.dll and copy to your PHP extensions directory

Download latest version of YAZ toolkit and install it

Go to the YAZ toolkit directory
(Most likely C:\Program Files\YAZ\bin)

Copy the 4 DLL files in that folder into your win32 directory

Uncomment the "extention=php_yaz.dll;" line in php.ini

Restart your web server.

Uninstall the YAZ toolkit if you wish.
adam at indexdata dot dk
6 years ago
When using Apache, you must also place libxslt.dll and yaz5.dll in \xampp\apache\bin . (No need need to copy libxml2 because it is already there).
cstdenis at hotmail dot com
19 years ago
For those wondering what it is:

"This standard defines a client/server based service and protocol for
Information Retrieval. It specifies procedures and formats for a client to search a
database provided by a server, retrieve database records, and perform related
information retrieval functions. The protocol addresses communication between
information retrieval applications at the client and server; it does not address interaction
between the client and the end-user."
6 years ago
Updated steps to install this extension on windows 7 (january 2018)

1)Go to: and search trough the folders until you find the one that matches your php installation.

2)Download all four files: libxml2.dll, libxslt.dll, php_yaz.dll, yaz5.dll

3)Place the following files inside your php folder (\xampp\php): libxml2.dll, libxslt.dll, yaz5.dll

4)Place php_yaz.dll inside your php extensions folder (xampp\php\ext)

5)Add the following line to php.ini (you can find out where is php.ini located calling phpinfo): extension=php_yaz.dll
(look for the place where all the other extension are declarated and place it at the bottom as the las one installed)

6)Restart your server

That should work. You can check if it is installed by calling phpinfo and checking if yaz extension appears as a section.

To Top