ILIAS
Release_4_0_x_branch Revision 61816
|
caches instances of the wsdl class More...
Public Member Functions | |
wsdlcache ($cache_dir='.', $cache_lifetime=0) | |
constructor | |
createFilename ($wsdl) | |
creates the filename used to cache a wsdl instance | |
debug ($string) | |
adds debug data to the class level debug string | |
get ($wsdl) | |
gets a wsdl instance from the cache | |
obtainMutex ($filename, $mode) | |
obtains the local mutex | |
put ($wsdl_instance) | |
adds a wsdl instance to the cache | |
releaseMutex ($filename) | |
releases the local mutex | |
remove ($wsdl) | |
removes a wsdl instance from the cache | |
Public Member Functions inherited from nusoap_wsdlcache | |
nusoap_wsdlcache ($cache_dir='.', $cache_lifetime=0) | |
constructor |
Data Fields | |
$fplock | |
$cache_lifetime | |
$cache_dir | |
$debug_str = '' | |
Data Fields inherited from nusoap_wsdlcache | |
$fplock | |
$cache_lifetime | |
$cache_dir | |
$debug_str = '' |
caches instances of the wsdl class
For backward compatibility.
public
Definition at line 13 of file class.wsdlcache.php.
wsdlcache::createFilename | ( | $wsdl | ) |
creates the filename used to cache a wsdl instance
string | $wsdl | The URL of the wsdl instance |
Reimplemented from nusoap_wsdlcache.
Definition at line 55 of file class.wsdlcache.php.
References $wsdl.
Referenced by get(), put(), and remove().
wsdlcache::debug | ( | $string | ) |
adds debug data to the class level debug string
string | $string | debug data private |
Reimplemented from nusoap_wsdlcache.
Definition at line 65 of file class.wsdlcache.php.
Referenced by get(), obtainMutex(), put(), releaseMutex(), and remove().
wsdlcache::get | ( | $wsdl | ) |
gets a wsdl instance from the cache
string | $wsdl | The URL of the wsdl instance |
Reimplemented from nusoap_wsdlcache.
Definition at line 76 of file class.wsdlcache.php.
References $filename, $wsdl, createFilename(), debug(), obtainMutex(), and releaseMutex().
wsdlcache::obtainMutex | ( | $filename, | |
$mode | |||
) |
obtains the local mutex
string | $filename | The Filename of the Cache to lock |
string | $mode | The open-mode ("r" or "w") or the file - affects lock-mode |
Reimplemented from nusoap_wsdlcache.
Definition at line 114 of file class.wsdlcache.php.
References $filename, and debug().
Referenced by get(), put(), and remove().
wsdlcache::put | ( | $wsdl_instance | ) |
adds a wsdl instance to the cache
object | wsdl $wsdl_instance The wsdl instance to add |
Reimplemented from nusoap_wsdlcache.
Definition at line 134 of file class.wsdlcache.php.
References $filename, createFilename(), debug(), obtainMutex(), and releaseMutex().
wsdlcache::releaseMutex | ( | $filename | ) |
releases the local mutex
string | $filename | The Filename of the Cache to lock |
Reimplemented from nusoap_wsdlcache.
Definition at line 157 of file class.wsdlcache.php.
References $filename, $ret, and debug().
Referenced by get(), put(), and remove().
wsdlcache::remove | ( | $wsdl | ) |
removes a wsdl instance from the cache
string | $wsdl | The URL of the wsdl instance |
Reimplemented from nusoap_wsdlcache.
Definition at line 174 of file class.wsdlcache.php.
References $filename, $ret, $wsdl, createFilename(), debug(), obtainMutex(), and releaseMutex().
wsdlcache::wsdlcache | ( | $cache_dir = '.' , |
|
$cache_lifetime = 0 |
|||
) |
constructor
string | $cache_dir | directory for cache-files |
integer | $cache_lifetime | lifetime for caching-files in seconds or 0 for unlimited public |
Definition at line 42 of file class.wsdlcache.php.
References $cache_dir, and $cache_lifetime.
wsdlcache::$cache_dir |
Definition at line 28 of file class.wsdlcache.php.
Referenced by wsdlcache().
wsdlcache::$cache_lifetime |
Definition at line 23 of file class.wsdlcache.php.
Referenced by wsdlcache().
wsdlcache::$debug_str = '' |
Definition at line 33 of file class.wsdlcache.php.
wsdlcache::$fplock |
Definition at line 18 of file class.wsdlcache.php.