Class Horde_SyncMl_Device_P800
P800/P900/P910:
Charset: This device is able to handle UTF-8 and sends its XML packages in UTF8. However even though the XML itself is UTF-8, it expects the enclosed vcard-data to be ISO-8859-1 unless explicitly stated otherwise (using the CHARSET option, which is deprecated for VCARD 3.0)
Encoding: String values are encoded "QUOTED-PRINTABLE"
Other: This devices handles tasks and events in one database.
As the P800 was the first device to work with package, most of the required conversions are in Device.php's default handling.
Copyright 2005-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_SyncMl_Device
- Horde_SyncMl_Device_P800
public
array
|
|
public
array
|
#
convertServer2Client( string $content, string $contentType, string $database )
Converts the content from the backend to a format suitable for the client device. |
public
boolean
|
#
handleTasksInCalendar( )
Some devices like the Sony Ericsson P800/P900/P910 handle vtodos (tasks) and vevents in the same "calendar" sync. This requires special actions on our side as we store this in different databases (nag and kronolith). This public function could directly return true but tries to be a bit more generic so it might work for other phones as well. |
public
boolean
|
#
omitIndividualSyncStatus( )
Send individual status response for each Add,Delete,Replace. The P800 class of devices seem to have trouble with too many status responses. So omit them for these (and only these), |
factory(),
getPreferredContentType(),
getPreferredContentTypeClient(),
useCdataTag(),
useLocalTime()
|
$requestedContentType
|