src/XML/RPC/Client.php
public function call( $method, $parameters ){
		$params	= array();
		foreach( $parameters as $parameter )
			$params[]	= '<param>'.self::encodeXmlParameter( $parameter ).'</param>';
		$method	= '<methodName>'.$method.'</methodName>';
		$params	= '<params>'.join( $params ).'</params>';
		$call	= '<methodCall>'.$method.$params.'</methodCall>';
		return self::parseResponse( Net_HTTP_Post::sendData( $this->url, $call ) );
	}
public function call( $method, $parameters ){
		$params	= array();
		foreach( $parameters as $parameter )
			$params[]	= '<param>'.self::encodeXmlParameter( $parameter ).'</param>';
		$method	= '<methodName>'.$method.'</methodName>';
		$params	= '<params>'.join( $params ).'</params>';
		$call	= '<methodCall>'.$method.$params.'</methodCall>';
		return self::parseResponse( Net_HTTP_Post::sendData( $this->url, $call ) );
	}
public function call ( $ method , $ parameters ) { $ params = array ( ) ; foreach ( $ parameters as $ parameter ) $ params [ ] = '<param>' . self :: encodeXmlParameter ( $ parameter ) . '</param>' ; $ method = '<methodName>' . $ method . '</methodName>' ; $ params = '<params>' . join ( $ params ) . '</params>' ; $ call = '<methodCall>' . $ method . $ params . '</methodCall>' ; return self :: parseResponse ( Net_HTTP_Post :: sendData ( $ this -> url , $ call ) ) ; }
Calls XML-RPC method with parameters and returns resulting answer data.
@access		public
@param		string		$method			Method XML-RPC
@param		array		$parameters		List of method parameters
@return		mixed
Calls XML - RPC method with parameters and returns resulting answer data .