[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 652 lignes (23 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
SyncML_Device_sync4j:: (12 méthodes):
convertClient2Server()
convertServer2Client()
sif2array()
array2sif()
sif2vnote()
sif2vcard()
sif2vevent()
sif2vtodo()
vnote2sif()
vcard2sif()
vevent2sif()
vtodo2sif()
Classe: SyncML_Device_sync4j - X-Ref
Sync4j (www.sync4j.org)convertClient2Server($content, $contentType) X-Ref |
Convert the content. Currently strips uid (primary key) information as client and server might use different ones. Charset conversions might be added here too. |
convertServer2Client($content, $contentType) X-Ref |
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. param: string $content The content to convert param: string $contentType The contentType of content as returned from return: array array($newcontent, $newcontentType): |
sif2array($sif) X-Ref |
Decodes a sif xml string to an associative array. Quick hack to convert from text/vcard and text/vcalendar to Sync4J's proprietery sif datatypes and vice versa. For details about the sif format see the appendix of the developer guide on www.sync4j.org. param: string $sif A sif string like <k1>v1></k1><k2>v2</k2> return: array Assoc array in utf8 like array ('k1' => 'v1>', 'k2' => 'v2'); |
array2sif($array, $pre='', $post='') X-Ref |
Encodes an assoc. array to sif xml Quick hack to convert from text/vcard and text/vcalendar to Sync4J's proprietery sif datatypes and vice versa. For details about the sif format see the appendix of the developer guide on www.sync4j.org. param: array $array An assoc array. return: string The resulting XML string. |
sif2vnote($sif) X-Ref |
Pas de description |
sif2vcard($sif) X-Ref |
Pas de description |
sif2vevent($sif) X-Ref |
Pas de description |
sif2vtodo($sif) X-Ref |
Pas de description |
vnote2sif($vnote) X-Ref |
Pas de description |
vcard2sif($vcard) X-Ref |
Pas de description |
vevent2sif($vcard) X-Ref |
Pas de description |
vtodo2sif($vcard) X-Ref |
Pas de description |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |