PEAR xml_rpc => send an php object

From: Date: Wed, 09 Apr 2008 16:18:20 +0000
Subject: PEAR xml_rpc => send an php object
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28774@lists.php.net to get a copy of this message
Hi, is there a posibility to convert an object to an XML_RPC_Value? I noticed the "struct" type for XML_RPC_Value, but a struct can only contain variables encapsulated in XML_RPC_Values too Quote from documentation: --- The fourth constructor form can be used to compose complex XML-RPC values. The first argument is either a simple array in the case of an XML-RPC *array* or an associative array in the case of a *struct*. The elements of the array /must be *XML_RPC_Value* objects themselves/. --- What I need is a transparent way where I can just take an object and pass it to the xml-rpc client. Thanks Pascal

« previous php.pear.general (#28774) next »