The PHP Online Conference 2021

Функции YAZ

Содержание

  • yaz_addinfo — Возвращает дополнительную информацию в случае ошибки
  • yaz_ccl_conf — Конфигурирует CCL-парсер
  • yaz_ccl_parse — Вызывает парсер CCL
  • yaz_close — Закрывает соединение YAZ
  • yaz_connect — Подготавливает соединение с сервером Z39.50
  • yaz_database — Определяет базы данных в сеансе
  • yaz_element — Указывает имя набора элементов для поиска
  • yaz_errno — Возвращает номер ошибки
  • yaz_error — Возвращает описание ошибки
  • yaz_es_result — Inspects Extended Services Result
  • yaz_es — Prepares for an Extended Service Request
  • yaz_get_option — Возвращает значение параметра для подключения
  • yaz_hits — Возвращает количество совпадений для последнего поиска
  • yaz_itemorder — Prepares for Z39.50 Item Order with an ILL-Request package
  • yaz_present — Готовится к поиску (Z39.50 присутствует)
  • yaz_range — Определяет диапазон записей для извлечения
  • yaz_record — Возвращает запись
  • yaz_scan_result — Возвращает результат запроса сканирования
  • yaz_scan — Подготовка сканирования
  • yaz_schema — Устанавливает схему для возвращаемых значений
  • yaz_search — Подготовка поиска
  • yaz_set_option — Устанавливает параметры для соединения
  • yaz_sort — Задает критерий сортировки
  • yaz_syntax — Задает предпочитаемый синтаксис для извлекаемой записи
  • yaz_wait — Ожидает выполнения запросов Z39.50 серверами
add a note add a note

User Contributed Notes 4 notes

up
2
adam at indexdata dot dk
2 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
Anonymous
14 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
cstdenis at hotmail dot com
16 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
-1
francisco.vazquez@ubik
2 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