PHP.mk документација

yaz_es

Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.

function.yaz-es.php PHP.net прокси Преводот се освежува
Оригинал на PHP.net
Патека function.yaz-es.php Локална патека за оваа страница.
Извор php.net/manual/en Оригиналниот HTML се реупотребува и локално се стилизира.
Режим Прокси + превод во позадина Кодовите, табелите и белешките остануваат читливи во истиот тек.
yaz_es

Референца за `function.yaz-es.php` со подобрена типографија и навигација.

function.yaz-es.php

yaz_es

(PECL yaz >= 0.9.0)

yaz_es Prepares for an Extended Service Request

= NULL

yaz_es( resource $id , string $type , array $args ): void

This function prepares for an Extended Service Request. Extended Services is family of various Z39.50 facilities, such as Record Update, Item Order, Database administration etc.

Забелешка:

Many Z39.50 Servers do not support Extended Services.

На yaz_es() creates an Extended Service Request packages and puts it into a queue of operations. Use yaz_wait() to send the request(s) to the server. After completion of yaz_wait() the result of the Extended Service operation should be expected with a call to yaz_es_result().

Параметри

id

Оваа функција треба да се повика пред yaz_connect().

type

A string which represents the type of the Extended Service: itemorder (Item Order), create (Create Database), drop (Drop Database), commit (Commit Operation), update (Update Record), xmlupdate (XML Update). Each type is specified in the following section.

args

An array with extended service options plus package specific options. The options are identical to those offered in the C API of ZOOM C. Refer to the ZOOM » Extended Services.

Вратени вредности

Не се враќа вредност.

Примери

Example #1 Record Update

<?php
$con
= yaz_connect("myhost/database");
$args = array (
"record" => "<gils><title>some title</title></gils>",
"syntax" => "xml",
"action" => "specialUpdate"
);
yaz_es($con, "update", $args);
yaz_wait();
$result = yaz_es_result($id);
?>

Види Исто така

  • yaz_es_result() - Инспекција на резултат од проширени услуги

Белешки од корисници 1 белешка

pol4free at yahoo dot com
12 години пред
$result=yaz_es_result($id)  is wrong for is example 
$result=yaz_es_result($con)
На оваа страница

Автоматски outline од активната документација.

Насловите ќе се појават тука по вчитување.

Попрегледно читање

Примерите, changelog табелите и user notes се визуелно издвоени за да не се губат во долгата содржина.

Брз совет Користи го outline-от Скокни директно на главните секции од активната страница.
Извор Оригиналниот линк останува достапен Кога ти треба целосен upstream context, отвори го PHP.net во нов tab.