| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 409 lignes (12 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
EGW_SyncML_State:: (10 méthodes):
getChangeTS()
getClientDeviceInfo()
getGlobalUID()
getLocID()
getSyncSummary()
isAuthorized()
removeUID()
setUID()
writeClientDeviceInfo()
writeSyncSummary()
Classe: EGW_SyncML_State - X-Ref
| getChangeTS($type, $guid) X-Ref |
| Returns the timestamp (if set) of the last change to the obj:guid, that was caused by the client. This is stored to avoid mirroring these changes back to the client. |
| getClientDeviceInfo() X-Ref |
| Retrieves information about the clients device info if any. Returns false if no info found or a DateTreeObject with at least the following attributes: a array containing all available infos about the device |
| getGlobalUID($type, $locid) X-Ref |
| Retrieves the Horde server guid (like kronolith:0d1b415fc124d3427722e95f0e926b75) for a given client locid. Returns false if no such id is stored yet. Opposite of getLocId which returns the locid for a given guid. |
| getLocID($type, $guid) X-Ref |
| Converts a EGW GUID (like kronolith:0d1b415fc124d3427722e95f0e926b75) to a client ID as used by the sync client (like 12) returns false if no such id is stored yet. |
| getSyncSummary($type) X-Ref |
| Retrieves information about the previous sync if any. Returns false if no info found or a DateTreeObject with at least the following attributes: ClientAnchor: the clients Next Anchor of the previous sync. ServerAnchor: the Server Next Anchor of the previous sync. |
| isAuthorized() X-Ref |
| Pas de description |
| removeUID($type, $locid) X-Ref |
| Removes the locid<->guid mapping for the given locid. Returns the guid that was removed or false if no mapping entry was found. |
| setUID($type, $locid, $guid, $ts=0) X-Ref |
| Puts a given client $locid and Horde server $guid pair into the map table to allow mapping between the client's and server's IDs. Actually there are two maps: from the localid to the guid and vice versa. The localid is converted to a key as follows: this->_locName . $this->_sourceURI . $type . $locid so you can have different syncs with different devices. If an entry already exists, it is overwritten. |
| writeClientDeviceInfo() X-Ref |
| write clients device info to database |
| writeSyncSummary() X-Ref |
| After a successful sync, the client and server's Next Anchors are written to the database so they can be used to negotiate upcoming syncs. |
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |