[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/include/nusoap/ -> class.wsdlcache.php (sommaire)

(pas de description)

Poids: 184 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

wsdlcache:: (8 méthodes):
  wsdlcache()
  createFilename()
  debug()
  get()
  obtainMutex()
  put()
  releaseMutex()
  remove()


Classe: wsdlcache  - X-Ref

caches instances of the wsdl class

wsdlcache($cache_dir='.', $cache_lifetime=0)   X-Ref
constructor

param: string $cache_dir directory for cache-files
param: integer $cache_lifetime lifetime for caching-files in seconds or 0 for unlimited

createFilename($wsdl)   X-Ref
creates the filename used to cache a wsdl instance

param: string $wsdl The URL of the wsdl instance
return: string The filename used to cache the instance

debug($string)   X-Ref
adds debug data to the class level debug string

param: string $string debug data

get($wsdl)   X-Ref
gets a wsdl instance from the cache

param: string $wsdl The URL of the wsdl instance
return: object wsdl The cached wsdl instance, null if the instance is not in the cache

obtainMutex($filename, $mode)   X-Ref
obtains the local mutex

param: string $filename The Filename of the Cache to lock
param: string $mode The open-mode ("r" or "w") or the file - affects lock-mode
return: boolean Lock successfully obtained ?!

put($wsdl_instance)   X-Ref
adds a wsdl instance to the cache

param: object wsdl $wsdl_instance The wsdl instance to add
return: boolean WSDL successfully cached

releaseMutex($filename)   X-Ref
releases the local mutex

param: string $filename The Filename of the Cache to lock
return: boolean Lock successfully released

remove($wsdl)   X-Ref
removes a wsdl instance from the cache

param: string $wsdl The URL of the wsdl instance
return: boolean Whether there was an instance to remove



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7