aneeshpt001 / ripcord

Automatically exported from code.google.com/p/ripcord
0 stars 0 forks source link

function xmlrpcClient don't use param $transport #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In documentation I see:
$client = ripcord::xmlrpcClient( $url, null, $transport );

but in ripcord.php at line 192
public static function xmlrpcClient($url, $options = null) 
{
    $options['version'] = 'xmlrpc';
    return self::client($url, $options);
}

I don't see param $transport in function xmlrpcClient. Maybe it should be
public static function xmlrpcClient($url, $options = null, $transport = null) 
{
    $options['version'] = 'xmlrpc';
    return self::client($url, $options, $transport);
}
?

Original issue reported on code.google.com by iksm...@gmail.com on 7 Mar 2011 at 11:23

GoogleCodeExporter commented 8 years ago
This is a documentation error, the transport object can be set in the options 
array, e.g.:

$client = ripcord::xmlrpcClient( $url, array( 'transport' => $transport ) );

I will fix the documentation.

Original comment by a.c.van....@gmail.com on 25 May 2011 at 10:03

GoogleCodeExporter commented 8 years ago
Whoops, I checked the wrong version, you are right and I fixed it in SVN. A new 
release will follow shortly. Can you check the problem is now gone?

Original comment by a.c.van....@gmail.com on 25 May 2011 at 10:20