Appointment Fetch With PHP
Adam Williams <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm suffering from brain-pain in building a fetch specification to the
appointment.fetch call in PHP. Has anyone done this? (I'm probably
missing something dumb).
I'm doing the following (one of my permutations):
$spec=new xmlrpcval(array(
"qualifier" => new xmlrpcval(array(
"startDate" => new xmlrpcval(
iso8601_encode(mktime(0, 0, 0, 12, 31, 2001)), 'string'
),
"endDate" => new xmlrpcval(
iso8601_encode(mktime(0, 0, 0, 12, 31, 2001)), 'string'
),
), 'struct'),
), 'struct');
The spec ends up looking like -
xmlrpcval Object
(
[me] => Array
(
[struct] => Array
(
[qualifier] => xmlrpcval Object
(
[me] => Array
(
[array] => Array
(
I notice that the third level ("[struct]") is an "Array" and not an
"xmlrpcval Object".
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc