Ampache
[ class tree: Ampache ] [ index: Ampache ] [ all elements ]

Class: nusoap_wsdlcache

Source Location: /modules/nusoap/class.wsdlcache.php

Class Overview


caches instances of the wsdl class


Author(s):

Version:

  • $Id$

Variables

Methods


Child classes:

wsdlcache
For backward compatibility

Class Details

[line 18]
caches instances of the wsdl class



Tags:

author:  Ingo Fischer <ingo@apollon.de>
author:  Scott Nichol <snichol@users.sourceforge.net>
version:  $Id$
access:  public


[ Top ]


Class Variables

$debug_str =  ''

[line 38]



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor nusoap_wsdlcache [line 47]

nusoap_wsdlcache nusoap_wsdlcache( [string $cache_dir = '.'], [integer $cache_lifetime = 0])

constructor



Tags:

access:  public


Parameters:

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

[ Top ]

method get [line 81]

object wsdl get( string $wsdl)

gets a wsdl instance from the cache



Tags:

return:  The cached wsdl instance, null if the instance is not in the cache
access:  public


Parameters:

string   $wsdl   The URL of the wsdl instance

[ Top ]

method put [line 144]

boolean put( object wsdl $wsdl_instance)

adds a wsdl instance to the cache



Tags:

return:  WSDL successfully cached
access:  public


Parameters:

object wsdl   $wsdl_instance   The wsdl instance to add

[ Top ]

method remove [line 189]

boolean remove( string $wsdl)

removes a wsdl instance from the cache



Tags:

return:  Whether there was an instance to remove
access:  public


Parameters:

string   $wsdl   The URL of the wsdl instance

[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:55 +0900 by phpDocumentor 1.4.2