Class SyncML_Device_Synthesis

Description

The SyncML_Device_Synthesis:: class provides functionality that is specific to the Synthesis.ch SyncML clients.

Copyright 2005-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/Synthesis.php,v 1.2.2.13 2009/01/06 15:23:39 jan Exp $

Located in /SyncML/SyncML/Device/Synthesis.php (line 16)

SyncML_Device
   |
   --SyncML_Device_Synthesis
Method Summary
 array convertClient2Server (string $content, string $contentType)
 array convertServer2Client (string $content, string $contentType, string $database)
 void UTC2LocalDate ( $s)
Variables

Inherited Variables

Inherited from SyncML_Device

SyncML_Device::$requestedContentType
Methods
convertClient2Server (line 71)

Convert the content.

  • return: array($newcontent, $newcontentType): the converted content and the (possibly changed) new ContentType.
array convertClient2Server (string $content, string $contentType)
  • string $content: The content to convert.
  • string $contentType: The contentType of the content.

Redefinition of:
SyncML_Device::convertClient2Server()
Converts the content received from the client for the backend.
convertServer2Client (line 34)

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.
UTC2LocalDate (line 101)
void UTC2LocalDate ( $s)
  • $s

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:36 +0000 by phpDocumentor 1.4.3