/** * Do the real call if no cache available * * NB : The '___' at the end of the method name is to avoid collisions with * XMLRPC __call() * * @param string Method name * @param array Parameters * @return mixed The call result, already decoded into native types */ private function _workWithoutCache___($methodName, $parameters) { if (!isset($this->_clientObject)) { // If the XML_RPC2_Client object is not available, let's build it require_once 'Client.php'; $this->_clientObject = XML_RPC2_Client::createClient($this->_uri, $this->_options); } // the real function call... return call_user_func_array(array($this->_clientObject, $methodName), $parameters); }