Overview

Packages

  • None
  • SyncMl

Classes

  • Horde_SyncMl
  • Horde_SyncMl_Backend
  • Horde_SyncMl_Backend_Horde
  • Horde_SyncMl_Command
  • Horde_SyncMl_Command_Alert
  • Horde_SyncMl_Command_Final
  • Horde_SyncMl_Command_Get
  • Horde_SyncMl_Command_Map
  • Horde_SyncMl_Command_Put
  • Horde_SyncMl_Command_Replace
  • Horde_SyncMl_Command_Results
  • Horde_SyncMl_Command_Status
  • Horde_SyncMl_Command_Sync
  • Horde_SyncMl_Command_SyncHdr
  • Horde_SyncMl_ContentHandler
  • Horde_SyncMl_DataStore
  • Horde_SyncMl_Device
  • Horde_SyncMl_Device_Nokia
  • Horde_SyncMl_Device_P800
  • Horde_SyncMl_Device_sync4j
  • Horde_SyncMl_Device_Sync4JMozilla
  • Horde_SyncMl_Device_Synthesis
  • Horde_SyncMl_DeviceInfo
  • Horde_SyncMl_Property
  • Horde_SyncMl_PropertyParameter
  • Horde_SyncMl_State
  • Horde_SyncMl_Sync
  • Horde_SyncMl_SyncElement
  • Horde_SyncMl_Translation
  • Horde_SyncMl_XmlOutput
  • Overview
  • Package
  • Class
  • Tree

Class Horde_SyncMl_Device_Nokia

The Horde_SyncMl_Device_Nokia:: class provides functionality that is specific to the Nokia SyncML clients.

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
Extended by Horde_SyncMl_Device_Nokia
Package: SyncMl
Author: Karsten Fourmont karsten@horde.org
Located at Horde/SyncMl/Device/Nokia.php
Methods summary
public array
# convertClient2Server( string $content, string $contentType )

Converts the content received from the client for the backend.

Converts the content received from the client for the backend.

Parameters

$content
The content to convert.
$contentType
The content type of the content.

Returns

array

Two-element array with the converted content and the (possibly changed) new content type.

Overrides

Horde_SyncMl_Device::convertClient2Server()
public array
# convertServer2Client( string $content, string $contentType, string $database )

Converts the content from the backend to a format suitable for the client device.

Converts the content from the backend to a format suitable for the client device.

Strips the UID (primary key) information as client and server might use different ones.

Charset conversions might be added here too.

Parameters

$content
The content to convert
$contentType
<p>The content type of content as returned from the backend</p>
$database
The server database URI.

Returns

array

Three-element array with the converted content, the (possibly changed) new content type, and encoding type (like b64 as used by Funambol).

Overrides

Horde_SyncMl_Device::convertServer2Client()
public boolean
# handleTasksInCalendar( )

Returns whether the device handles tasks and events in a single "calendar" sync.

Returns whether the device handles tasks and events in a single "calendar" sync.

This requires special actions on our side as we store this in different backend databases.

Returns

boolean

True if tasks and events are processed in a single request.

Overrides

Horde_SyncMl_Device::handleTasksInCalendar()
public boolean
# useLocalTime( )

Some devices accept datetimes only in local time format: DTSTART:20061222T130000 instead of the more robust (and default) UTC time: DTSTART:20061222T110000Z

Some devices accept datetimes only in local time format: DTSTART:20061222T130000 instead of the more robust (and default) UTC time: DTSTART:20061222T110000Z

Returns

boolean
True if the client doesn't accept UTC datetimes.

Overrides

Horde_SyncMl_Device::useLocalTime()
Methods inherited from Horde_SyncMl_Device
factory(), getPreferredContentType(), getPreferredContentTypeClient(), omitIndividualSyncStatus(), useCdataTag()
Properties inherited from Horde_SyncMl_Device
$requestedContentType
API documentation generated by ApiGen