downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

yaz_error> <yaz_element
Last updated: Fri, 13 Nov 2009

view this page in

yaz_errno

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)

yaz_errnoエラー番号を返す

説明

int yaz_errno ( resource $id )

id で表される サーバの(直近のリクエストについての)エラー番号を返します。

yaz_errno() は、各ターゲットへのネットワーク接続が 確立された後(つまり、yaz_wait()の後)に コールされる必要があり、直近の操作(例えば検索)が成功したか 失敗したかを判定します。

パラメータ

id

yaz_connect() が返す接続リソース。

返り値

エラーコードを返します。エラーコードは Z39.50 診断コード (通常は Bib-1 診断)あるいは PHP/YAZ が生成するクライアント側の エラーコード(たとえば "Connect failed"、"Init Rejected" など) のいずれかです。

参考



add a note add a note User Contributed Notes
yaz_errno
There are no user contributed notes for this page.

yaz_error> <yaz_element
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites