[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] Sync for phpGW: Milestone 3
From: |
Markus Kaemmerer |
Subject: |
Re: [Phpgroupware-developers] Sync for phpGW: Milestone 3 |
Date: |
Tue, 04 May 2004 01:40:32 +0200 |
"Guillaume Courtois" <address@hidden> wrote:,
>> >$SyncItemIds = $sync->getAllSyncItemIds ( $devsourcelocuri, "contact" );
>> >
>> >Where am I wrong ?
>>
>> the first parameter is the deviceID (exact the same as in deviceid in
>> thable phpgw_syncdevices, you can get the ID with
>> so->GetDeviceID($URI))
>
>My $devsourcelocuri contains the IMEI number of the phone for example, is that
>ok or should I get the ID with a GetDeviceID ( $devsourcelocuri ) ? I'm at
>work right now and I can't check the content of phpgw_syncdevices :-(
it is ok, if you check the documentation of getAllSyncItemIds:
* @param integer $deviceid is the deviceid of the device which whant
to
* do the sync
so use the DeviceID you get with GetDeviceID (otherwise the parameter
whould be named something with "URI").
>>and "contact" is the source. Now the IPC
>> interface of "contact" (->addressbook) is called. You have to copy the
>> new IPC files from savannah_head/ipc_test_suite/sources to the API and
>> to the module directorys, overwriting the old ones.
>
>I've copied the files class.ipc* from head/phpgwapi/inc to
>0.9.16/phpgwapi/inc, as Dave told me. Is that ok or should I get the ones you
>tell me instead ?
Use the files I wrote above. The files from HEAD are quite outdated.
You also have to use the newest IPC from source above for your
application module.
I hope, that the IPC patches will be applied quickly, so there is no
need more for copy tons of files around phpGW to get Sync working.
Markus
--
Markus Kämmerer Team Software Solutions
pro|business AG, EXPO Plaza 1, 30539 Hannover
E-Mail: address@hidden, Phone.: 0511/60066-0
WWW: http://www.probusiness.de/, Mobile: 0177/5990932
- Re: [Phpgroupware-developers] Sync for phpGW: Milestone 3,
Markus Kaemmerer <=