SoapServer->setPersistence()
(no version information, might be only in CVS)
SoapServer->setPersistence() -- Sets persistence mode of SoapServerOpis
class 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().
Przykłady
Notatka: 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.
Poprzedni | Spis treści | Następny |
SoapServer->setClass() | Początek rozdziału |