SOAP Функции
PHP Manual

SoapServer->setPersistence

(No version information available, might be only in CVS)

SoapServer->setPersistence Sets persistence mode of SoapServer

Описание

SoapServer
void setPersistence ( int $mode )

This function allows saving data between requests in a PHP session. It works only with a server that exports functions from a class with SoapServer->setClass.

Список параметров

mode

One of the SOAP_PERSISTENCE_XXX constants.

Возвращаемые значения

Эта функция не возвращает значения после выполнения.

Примеры

Пример #1 Some examples

<?php

$server
->setPersistence(SOAP_PERSISTENCE_SESSION);

$server->setPersistence(SOAP_PERSISTENCE_REQUEST);

?>

Замечание: The persistence SOAP_PERSISTENCE_SESSION makes persistent only object of given class, but not the class static data. You may use $this->bar instead of self::$bar.

Смотрите также


SOAP Функции
PHP Manual

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/toplevels/data/www/maripoza.ru/fc7a82cd8e0116192ce432b06b9bd9c9/sape.php on line 219

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/toplevels/data/www/maripoza.ru/fc7a82cd8e0116192ce432b06b9bd9c9/sape.php on line 225