Class SyncML_Device_Sync4JMozilla

Description

The SyncML_Device_Sync4JMozilla:: class provides functionality that is specific to the Sync4JMozilla Plugin. See http://sourceforge.net/projects/sync4jmozilla/

Copyright 2007-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

$Horde: framework/SyncML/SyncML/Device/Sync4JMozilla.php,v 1.3.2.5 2009/01/06 15:23:39 jan Exp $

Located in /SyncML/SyncML/Device/Sync4JMozilla.php (line 17)

SyncML_Device
   |
   --SyncML_Device_Sync4JMozilla
Method Summary
 array convertServer2Client (string $content, string $contentType, string $database)
Variables

Inherited Variables

Inherited from SyncML_Device

SyncML_Device::$requestedContentType
Methods
convertServer2Client (line 35)

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.

  • return: Three-element array with the converted content, the (possibly changed) new content type, and encoding type (like b64 as used by Funambol).
array convertServer2Client (string $content, string $contentType, string $database)
  • string $content: The content to convert
  • string $contentType: The content type of content as returned from the backend
  • string $database: The server database URI.

Redefinition of:
SyncML_Device::convertServer2Client()
Converts the content from the backend to a format suitable for the client device.

Inherited Methods

Inherited From SyncML_Device

 SyncML_Device::convertClient2Server()
 SyncML_Device::convertServer2Client()
 SyncML_Device::convertUTC2LocalTime()
 SyncML_Device::factory()
 SyncML_Device::getPreferredContentType()
 SyncML_Device::getPreferredContentTypeClient()
 SyncML_Device::handleTasksInCalendar()
 SyncML_Device::omitIndividualSyncStatus()
 SyncML_Device::useCdataTag()
 SyncML_Device::useLocalTime()

Documentation generated on Sun, 30 Jan 2011 05:22:33 +0000 by phpDocumentor 1.4.3