Méthode | Description | |
---|---|---|
array2sif ( array $array, string $pre = '', string $post = '' ) : string | Converts a hash to a SIF XML structure. | |
convertClient2Server ( $content, $contentType ) | Convert the content. | |
convertServer2Client ( string $content, string $contentType, string $database ) : array | Converts the content from the backend to a format suitable for the client device. | |
getPreferredContentTypeClient ( $serverSyncURI, $sourceSyncURI ) | ||
sif2array ( string $sif ) : array | Decodes a sif xml string to an associative array. | |
sif2vcard ( $sif ) | ||
sif2vevent ( $sif ) | ||
sif2vnote ( $sif ) | ||
sif2vtodo ( $sif ) | ||
useCdataTag ( ) | Sync4j as of Funambol Outlook connector 3.0.15 can't deal with | |
vcard2sif ( $vcard ) | ||
vevent2sif ( $vcard ) | ||
vnote2sif ( $vnote ) | ||
vtodo2sif ( $vcard ) |
public convertClient2Server ( $content, $contentType ) |
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. |
Résultat | array | Three-element array with the converted content, the (possibly changed) new content type, and encoding type (like b64 as used by Funambol). |
public getPreferredContentTypeClient ( $serverSyncURI, $sourceSyncURI ) |
public useCdataTag ( ) |