PHP Conference Nagoya 2025

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 — 拡張サービスのリクエストを準備する
  • yaz_es_result — 拡張サービスの結果を調査する
  • yaz_get_option — 接続に関するオプションの値を返す
  • yaz_hits — 直近の検索に関するヒット数を返す
  • yaz_itemorder — ILL リクエストパッケージを関して Z39.50 Item Order を準備する
  • yaz_present — (Z39.50による)取得の準備を行う
  • yaz_range — 取得するレコードの範囲を指定する
  • yaz_record — レコードを返す
  • yaz_scan — スキャンの準備をする
  • yaz_scan_result — スキャンリクエストの結果を返す
  • yaz_schema — 取得するスキーマを指定する
  • yaz_search — 検索を準備する
  • yaz_set_option — 接続に関するひとつあるいは複数のオプションを設定する
  • yaz_sort — ソート条件を設定する
  • yaz_syntax — 取得用に適当なレコード構文を指定する
  • yaz_wait — Z39.50 リクエストが完了するまで待つ
add a note

User Contributed Notes 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
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).
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
6 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