logo       

Appointment Fetch With PHP: msg#00015

cms.opengroupware.xmlrpc.devel

Subject: Appointment Fetch With PHP

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
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise