43 require_once
'XML/RPC2/Exception.php';
100 $backend = ucfirst(strtolower($backend));
103 $backend !=
'Xmlrpcext' 108 $backend ==
'Xmlrpcext' &&
109 !function_exists(
'xmlrpc_server_create') &&
111 @dl(
'php_xmlrpc' . PHP_SHLIB_SUFFIX) || @dl(
'xmlrpc' . PHP_SHLIB_SUFFIX)
116 self::$currentBackend = $backend;
137 if (!isset(self::$currentBackend)) {
139 self::setBackend(
'XMLRPCext');
142 self::setBackend(
'php');
145 return self::$currentBackend;
158 require_once(sprintf(
'XML/RPC2/Backend/%s/Server.php', self::getBackend()));
159 return sprintf(
'XML_RPC2_Backend_%s_Server', self::getBackend());
172 require_once(sprintf(
'XML/RPC2/Backend/%s/Client.php', self::getBackend()));
173 return sprintf(
'XML_RPC2_Backend_%s_Client', self::getBackend());
186 require_once(sprintf(
'XML/RPC2/Backend/%s/Value.php', self::getBackend()));
187 return sprintf(
'XML_RPC2_Backend_%s_Value', self::getBackend());
static setBackend($backend)
Backend setter.
static getClientClassname()
Include the relevant php files for the client class, and return the backend client class name...
static getServerClassname()
Include the relevant php files for the server class, and return the backend server class name...
static getValueClassname()
Include the relevant php files for the value class, and return the backend value class name...
static getBackend()
Backend getter.