PHP 클래스 Horde_SyncMl_Device_Nokia, horde

Copyright 2005-2016 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.
저자: Karsten Fourmont ([email protected])
상속: extends Horde_SyncMl_Device
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
convertClient2Server ( string $content, string $contentType ) : array Converts the content received from the client for the backend.
convertServer2Client ( string $content, string $contentType, string $database ) : array Converts the content from the backend to a format suitable for the client device.
handleTasksInCalendar ( )
useLocalTime ( ) Some devices accept datetimes only in local time format: DTSTART:20061222T130000 instead of the more robust (and default) UTC time: DTSTART:20061222T110000Z

메소드 상세

convertClient2Server() 공개 메소드

Converts the content received from the client for the backend.
public convertClient2Server ( string $content, string $contentType ) : array
$content string The content to convert.
$contentType string The content type of the content.
리턴 array Two-element array with the converted content and the (possibly changed) new content type.

convertServer2Client() 공개 메소드

Strips the UID (primary key) information as client and server might use different ones. Charset conversions might be added here too.
public convertServer2Client ( string $content, string $contentType, string $database ) : array
$content string The content to convert
$contentType string The content type of content as returned from the backend
$database string The server database URI.
리턴 array Three-element array with the converted content, the (possibly changed) new content type, and encoding type (like b64 as used by Funambol).

handleTasksInCalendar() 공개 메소드

useLocalTime() 공개 메소드

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