Public Member Functions | |
wsdlcache ($cache_dir='.', $cache_lifetime=0) | |
createFilename ($wsdl) | |
debug ($string) | |
get ($wsdl) | |
obtainMutex ($filename, $mode) | |
put ($wsdl_instance) | |
releaseMutex ($filename) | |
remove ($wsdl) |
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 |
wsdlcache::createFilename | ( | $ | wsdl | ) |
creates the filename used to cache a wsdl instance
string | $wsdl The URL of the wsdl instance |
wsdlcache::debug | ( | $ | string | ) |
adds debug data to the class level debug string
string | $string debug data private |
wsdlcache::get | ( | $ | wsdl | ) |
gets a wsdl instance from the cache
string | $wsdl The URL of the wsdl instance |
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 |
wsdlcache::put | ( | $ | wsdl_instance | ) |
adds a wsdl instance to the cache
object | wsdl $wsdl_instance The wsdl instance to add |
wsdlcache::releaseMutex | ( | $ | filename | ) |
releases the local mutex
string | $filename The Filename of the Cache to lock |
wsdlcache::remove | ( | $ | wsdl | ) |
removes a wsdl instance from the cache
string | $wsdl The URL of the wsdl instance |