开发者

Does Zend provide an object wrapper for Zend_XmlRpc return values?

开发者 https://www.devze.com 2023-01-20 08:13 出处:网络
I have something like: $client = new Zend_XmlRpc_Client(\'<XML-RPC URL>\'); $result = $client->call(\'<method name>\', array( ... ));

I have something like:

$client = new Zend_XmlRpc_Client('<XML-RPC URL>');
$result = $client->call('<method name>', array( ... ));

I get an XML string in $result. Is Z开发者_如何学Goend capable of marshalling this XML into some object or associative array?

If Zend doesn't marshall this automatically and I have to do so using plain PHP, how is it best done?


Meh. I'm settling for SimpleXML (a PHP5 module), as suggested here. I don't need anything complex anyway.

0

精彩评论

暂无评论...
验证码 换一张
取 消