blob: eea74a0f3704974d1cf5320bce24bcefd62a3781 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php
# Lifter002: TODO
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
class WebserviceClient
{
public static function instance($webservice_url, $classname)
{
static $instances = [];
if (!$instances[$classname . $webservice_url]) {
$instances[$classname . $webservice_url] = new $classname($webservice_url);
}
return $instances[$classname . $webservice_url];
}
public function __construct()
{
trigger_error("this class can't be instantiated");
}
public function &call($method_name, &$args)
{
trigger_error("WebserviceCaller::WebserviceCaller:: call not defined");
}
}
|