International PHP Conference Munich 2025

Funções de YAZ

Índice

  • yaz_addinfo — Retorna informações de erro adicionais
  • yaz_ccl_conf — Configura o analisador CCL
  • yaz_ccl_parse — Invoca o analisador CCL
  • yaz_close — Fecha a conexão YAZ
  • yaz_connect — Prepara para uma conexão com um servidor Z39.50
  • yaz_database — Especifica os bancos de dados dentro de uma sessão
  • yaz_element — Especifica o nome do conjunto de elementos para recuperação
  • yaz_errno — Retorna o número do erro
  • yaz_error — Retorna a descrição do erro
  • yaz_es — Prepara-se para uma solicitação de Serviço Estendido
  • yaz_es_result — Inspeciona o resultado dos serviços estendidos
  • yaz_get_option — Retorna valor de opção para conexão
  • yaz_hits — Retorna o número de resultados da última pesquisa
  • yaz_itemorder — Prepara-se para pedido de item Z39.50 com um pacote de solicitação ILL
  • yaz_present — Prepara-se para recuperação (Z39,50 presente)
  • yaz_range — Especifica um intervalo de registros a serem recuperados
  • yaz_record — Retorna um registro
  • yaz_scan — Prepara para uma varredura
  • yaz_scan_result — Retorna o resultado da resposta da Varredura
  • yaz_schema — Especifica o esquema para recuperação
  • yaz_search — Prepara para uma busca
  • yaz_set_option — Define uma ou mais opções de conexão
  • yaz_sort — Define critérios de classificação
  • yaz_syntax — Especifica a sintaxe de registro preferida para recuperação
  • yaz_wait — Aguarda a conclusão das solicitações Z39.50
adicione uma nota

Notas Enviadas por Usuários (em inglês) 4 notes

up
2
Anonymous
19 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
http://ftp.indexdata.dk/pub/phpyaz/

Download latest version of YAZ toolkit and install it
http://www.indexdata.dk/yaz/

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.
up
1
adam at indexdata dot dk
7 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).
up
1
cstdenis at hotmail dot com
20 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."
up
0
francisco.vazquez@ubik
7 years ago
Updated steps to install this extension on windows 7 (january 2018)

1)Go to: http://ftp.indexdata.dk/pub/phpyaz/windows/ 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.

Cheers!
To Top