ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
__call ($methodName, $parameters) | |
__call Catchall | |
dropCacheFile___ ($methodName, $parameters) | |
Drop the cache file corresponding to the given method call. | |
clean___ () | |
Clean all the cache. |
Static Public Member Functions | |
static | create ($uri, $options=array()) |
"Emulated Factory" method to get the same API than XML_RPC2_Client class |
Protected Member Functions | |
__construct ($uri, $options=array()) | |
Constructor. |
Private Member Functions | |
_workWithoutCache___ ($methodName, $parameters) | |
Do the real call if no cache available. | |
_makeCacheId___ ($methodName, $parameters) | |
make a cache id depending on method called (and corresponding parameters) but depending on "environnement" setting too |
Private Attributes | |
$_options | |
$_uri | |
$_debug = false | |
$_cacheOptions = array() | |
$_cachedMethods = array() | |
$_notCachedMethods = array() | |
$_cacheByDefault = true | |
$_cacheObject = null | |
$_clientObject = null | |
$_defaultCacheGroup = 'xml_rpc2_client' | |
$_cacheDebug = false |
Definition at line 57 of file CachedClient.php.
|
protected |
Constructor.
TODO : documentations about cache options
string | URI for the XML-RPC server |
array | (optional) Associative array of options |
Definition at line 156 of file CachedClient.php.
XML_RPC2_CachedClient::__call | ( | $methodName, | |
$parameters | |||
) |
__call Catchall
Encapsulate all the class logic :
string | Method name |
array | Parameters |
Definition at line 230 of file CachedClient.php.
References $data, $result, _makeCacheId___(), and _workWithoutCache___().
|
private |
make a cache id depending on method called (and corresponding parameters) but depending on "environnement" setting too
NB : The '___' at the end of the method name is to avoid collisions with XMLRPC __call()
string | $methodName | called method |
array | $parameters | parameters of the called method |
Definition at line 322 of file CachedClient.php.
Referenced by __call(), and dropCacheFile___().
|
private |
Do the real call if no cache available.
NB : The '___' at the end of the method name is to avoid collisions with XMLRPC __call()
string | Method name |
array | Parameters |
Definition at line 298 of file CachedClient.php.
References create().
Referenced by __call().
XML_RPC2_CachedClient::clean___ | ( | ) |
Clean all the cache.
NB : The '___' at the end of the method name is to avoid collisions with XMLRPC __call()
Definition at line 354 of file CachedClient.php.
|
static |
"Emulated Factory" method to get the same API than XML_RPC2_Client class
Here, simply returns a new instance of XML_RPC2_CachedClient class
string | URI for the XML-RPC server |
string | (optional) Prefix to prepend on all called functions (defaults to '') |
string | (optional) Proxy server URI (defaults to no proxy) |
Definition at line 210 of file CachedClient.php.
Referenced by _workWithoutCache___().
XML_RPC2_CachedClient::dropCacheFile___ | ( | $methodName, | |
$parameters | |||
) |
Drop the cache file corresponding to the given method call.
NB : The '___' at the end of the method name is to avoid collisions with XMLRPC __call()
string | $methodName | called method |
array | $parameters | parameters of the called method |
Definition at line 339 of file CachedClient.php.
References _makeCacheId___().
|
private |
Definition at line 115 of file CachedClient.php.
|
private |
Definition at line 143 of file CachedClient.php.
|
private |
Definition at line 99 of file CachedClient.php.
|
private |
Definition at line 122 of file CachedClient.php.
|
private |
Definition at line 87 of file CachedClient.php.
|
private |
Definition at line 129 of file CachedClient.php.
|
private |
Definition at line 80 of file CachedClient.php.
|
private |
Definition at line 136 of file CachedClient.php.
|
private |
Definition at line 108 of file CachedClient.php.
|
private |
Definition at line 66 of file CachedClient.php.
|
private |
Definition at line 73 of file CachedClient.php.