[SyncML] element index

Package indexes

All elements
a b c d e f g h i l m n o p r s t u v w x _
_
top
Variable $_alert
The alert type. Should be one of the ALERT_* constants.
Variable $_backendMode
The backend mode. One of the SYNCML_BACKENDMODE_* constants.
Variable $_chars
Buffer for the parsed character data.
Variable $_chars
Variable $_charset
The charset used in the SyncML messages.
Variable $_clientAnchorNext
Sync Anchors determine the interval from which changes are retrieved.
Variable $_client_addreplaces
Add due to client replace request when map entry is not found. Happens during SlowSync.
Variable $_client_add_count
Number of objects that have been sent to the server for adding.
Variable $_client_delete_count
Number of objects that have been sent to the server for deletion.
Variable $_client_replace_count
Number of objects that have been sent to the server for replacement.
Variable $_Cmd
The command (Add, Replace, etc) sent to the client, that this Status response refers to.
Variable $_cmdID
The command ID (<CmdID>).
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command, like 'Put'.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_cmdName
Name of the command.
Variable $_CmdRef
The command ID (CmdID) of the command sent to the client, that this Status response refers to.
Variable $_contentFormat
Encoding format of the content as specified in the <Meta><Format> element, like 'b64'.
Variable $_contentType
The MIME content type of the currently parsed sync command as specified by the <Type> element inside a <Meta> section.
Variable $_curItem
SyncML_SyncElement object for the currently parsed sync command.
Variable $_currentCommand
Instance of SyncML_Command. Events are passed through to this ContentHandler.
Variable $_currentCTType
The MIME content type as specified by the last <CTType> element like text/calendar or text/x-vcard.
Variable $_currentDS
A SyncML_DataStore object where the information from the currently parsed <DataStore> section is saved.
Variable $_currentParamName
A property name of the currently parsed property name (PropName), like 'ROLE' for 'ATTENDEE' or 'HOME' for 'ADR'.
Variable $_currentPropName
A property name of the currently parsed content type (CTType), like 'DTSTART' for text/calendar or 'BDAY' for text/x-vcard.
Variable $_currentXNam
The name of the currently parsed DevInf extension (<Ext>) as specified by the XNam element.
Variable $_db
A PEAR MDB2 instance.
Variable $_db
A PEAR DB instance.
Variable $_debugDir
The directory where debugging information is stored.
Variable $_debugFiles
Whether to save SyncML messages in the debug directory.
Variable $_deviceDriver
Name of the appropriate device driver.
Variable $_devinf
The SyncML_DeviceInfo object where all parsed <DevInf> content is saved.
Variable $_elementType
Name of the currently parsed sync command, like 'Add'.
Variable $_errors
Number of failed actions, for logging purposes only.
Variable $_expectingMapData
Map data is expected whenever an add is sent to the client.
Variable $_gotFinal
Whether we received a final element in this message.
Variable $_itemCmdID
The command ID (<CmdID>) of the currently parsed sync command.
Variable $_itemMoreData
Whether a <MoreData> element has indicated that the sync command is split into several SyncML message chunks.
Variable $_itemSize
The size of the data item of the currently parsed sync command in bytes as specified by a <Size> element.
Variable $_logLevel
Backend::$_logLevel in testpacket.php
Variable $_logLevel
The log level. One of the PEAR_LOG_* constants.
Variable $_logtext
The concatenated log messages.
Variable $_mapSources
Originator map item specifiers.
Variable $_mapTargets
Recipient map item specifiers.
Variable $_maxMsgSize
Maximum size of a SyncML message in bytes as specified by the <Meta><MaxMsgSize> element.
Variable $_message
Id of the current message as specified in the <MsgID> element.
Variable $_metaAnchorLast
The last time when synchronization happened, from the <Meta><Last> element.
Variable $_metaAnchorNext
The current time this synchronization happens, from the <Meta><Next> element.
Variable $_MsgRef
The message ID (Msg) of the message sent to the client, that this Status response refers to.
Variable $_msg_CmdID
The CmdID provides a unique ID for each command in a syncml packet.
Variable $_output
The outputhandler to whom the XML is passed: like XML_WBXML_Encoder
Variable $_outputHandler
A SyncML_XMLOutput instance responsible for generating the output.
Variable $_respURI
The response URI as sent by the server.
Variable $_serverAnchorLast
Variable $_serverAnchorNext
Variable $_server_adds
List of object UIDs (in the keys) that have been added on the server since the last synchronization and are supposed to be sent to the client.
Variable $_server_add_count
Number of objects that have been sent to the client for adding.
Variable $_server_deletes
List of object UIDs (in the keys) that have been deleted on the server since the last synchronization and are supposed to be sent to the client.
Variable $_server_delete_count
Number of objects that have been sent to the client for deletion.
Variable $_server_replaces
List of object UIDs (in the keys) that have been changed on the server since the last synchronization and are supposed to be sent to the client.
Variable $_server_replace_count
Number of objects that have been sent to the client for replacement.
Variable $_server_task_adds
List of task UIDs (in the keys) that have been added on the server since the last synchronization and are supposed to be sent to the client.
Variable $_sessionID
Id of this SyncML session as specified in the <SessionID> element.
Variable $_sourceLocURI
Source database of the Map command.
Variable $_sourceLocURI
Source (server) URI (database).
Variable $_sourceLocURI
Source database of the Alert command.
Variable $_SourceRef
The server ID of the sent object, that this Status response refers to.
Variable $_sourceURI
The source URI as specified by the <Source><LocURI> element.
Variable $_sourceURI
Source database of the <Sync> command.
Variable $_stack
Stack for holding the XML elements during creation of the object from the XML event flow.
Variable $_Stack
Stack for holding the xml elements during creation of the object from the xml event flow.
Variable $_state
State of the current sync.
Variable $_Status
The status response code, one of the RESPONSE_* constants.
Variable $_syncDeviceID
The ID of the client device.
Variable $_syncElements
List of all SyncML_SyncElement objects that have parsed.
Variable $_syncs
Array of SyncML_Sync objects.
Variable $_syncsReceived
Counts the <Sync>s received by the server. Currently unused.
Variable $_syncsSent
Counts the <Sync>s sent by the server.
Variable $_syncType
The synchronization method, one of the ALERT_* constants.
Variable $_targetLocURI
Target database of the Alert command.
Variable $_targetLocURI
Target (client) URI (database).
Variable $_targetLocURI
Target database of the Map command.
Variable $_TargetRef
The client ID of the sent object, that this Status response refers to.
Variable $_targetURI
The target URI as specified by the <Target><LocURI> element.
Variable $_targetURI
Target database of the <Sync> command.
Variable $_uri
SyncML_State::$_uri in State.php
<SyncML> namespace uri.
Variable $_uri
SyncML_XMLOutput::$_uri in XMLOutput.php
Variable $_user
SyncML_Backend::$_user in Backend.php
The current user.
Variable $_VerCT
The version of the MIME content type in $_currentCTType as specified by the last <VerCT> element like 1.0 for text/x-vcalendar or 2.1 for text/x-vcard.
Variable $_version
SyncML protocol version as specified in the <VerProto> element.
Variable $_wbxmlparser
Variable $_xmlWriter
Method _characters
Callback function called by XML parser.
Method _checkAuthentication
Authenticates the user at the backend.
Method _checkAuthentication
Authenticates the user at the backend.
Method _checkAuthentication
Authenticates the user at the backend.
Method _checkAuthentication
Method _checkForError
Checks if the parameter is a PEAR_Error object and if so logs the error.
Method _cleanUser
Method _endElement
Callback function called by XML parser.
Method _generateID
Generates a unique ID used as suid
Method _getChangeTS
Returns a timestamp stored in the map for a given Server ID.
Method _getChangeTS
Returns a timestamp stored in the map for a given Server ID.
Method _getCuid
Retrieves the Client ID for a given Server ID from the map.
Method _getCuid
Retrieves the Client ID for a given Server ID from the map.
Method _getSuid
Retrieves the Server ID for a given Client ID from the map.
Method _getSuid
Retrieves the Server ID for a given Client ID from the map.
Method _normalize
Normalizes a databaseURI to a database name, so that _normalize('tasks?ignorecompleted') should return just 'tasks'.
Method _outputCmdID
Method _outputStatus
Creates the <Status> response for one Add|Replace|Delete SyncElement.
Method _removeFromSuidList
Removes a suid from the suidlist.
Method _retrieveChanges
Retrieves and condenses the changes on the server side since the last synchronization.
Method _singleEle
Output a single <ele>$str</ele> element.
Method _splitURI
Splits an URI as provided by the XML parser.
Method _startElement
Callback function called by XML parser.
Method _taskToCalendar
Converts a calendar databaseURI to a tasks databaseURI for devices with handleTasksInCalendar.
Method _trackDeletes
Returns a list of item IDs that have been deleted since the last sync run and stores a complete list of IDs for next sync run.
Method _writeDataStore
Writes DevInf data for one DataStore.
a
top
Variable $authenticated
Whether this session has authenticated successfully.
Method addEntry
Adds an entry into the server database.
Method addEntry
Backend::addEntry() in testpacket.php
Method addEntry
Adds an entry into the server database.
Method addEntry
Adds an entry into the server database.
Method addEntry_backend
Adds an entry into the server database.
Method addSyncReceived
Constant ALERT_DISPLAY
ALERT_DISPLAY in Constants.php
$Horde: framework/SyncML/SyncML/Constants.php,v 1.1.2.10 2009/01/06 15:23:37 jan Exp $
Constant ALERT_NEXT_MESSAGE
ALERT_NEXT_MESSAGE in Constants.php
Constant ALERT_NO_END_OF_DATA
ALERT_NO_END_OF_DATA in Constants.php
Constant ALERT_ONE_WAY_FROM_CLIENT
ALERT_ONE_WAY_FROM_CLIENT in Constants.php
Constant ALERT_ONE_WAY_FROM_CLIENT_BY_SERVER
Constant ALERT_ONE_WAY_FROM_SERVER
ALERT_ONE_WAY_FROM_SERVER in Constants.php
Constant ALERT_ONE_WAY_FROM_SERVER_BY_SERVER
Constant ALERT_REFRESH_FROM_CLIENT
ALERT_REFRESH_FROM_CLIENT in Constants.php
Constant ALERT_REFRESH_FROM_CLIENT_BY_SERVER
Constant ALERT_REFRESH_FROM_SERVER
ALERT_REFRESH_FROM_SERVER in Constants.php
Constant ALERT_REFRESH_FROM_SERVER_BY_SERVER
Constant ALERT_RESULT_ALERT
ALERT_RESULT_ALERT in Constants.php
Constant ALERT_RESUME
ALERT_RESUME in Constants.php
Constant ALERT_SLOW_SYNC
ALERT_SLOW_SYNC in Constants.php
Constant ALERT_SUSPEND
ALERT_SUSPEND in Constants.php
Constant ALERT_TWO_WAY
ALERT_TWO_WAY in Constants.php
Constant ALERT_TWO_WAY_BY_SERVER
ALERT_TWO_WAY_BY_SERVER in Constants.php
Method array2sif
Converts a hash to a SIF XML structure.
Constant AUTH_HANDLER
AUTH_HANDLER in testsync.php
Page Alert.php
Alert.php in Alert.php
b
top
Class Backend
Backend in testpacket.php
Page Backend.php
Backend.php in Backend.php
c
top
Variable $cmdID
SyncML_SyncElement::$cmdID in SyncElement.php
The command ID (<CmdID>) of the sync command.
Variable $content
SyncML_SyncElement::$content in SyncElement.php
The actual data content of the sync command.
Variable $contentFormat
Encoding format of the content as specified in the <Meta><Format> element, like 'b64'.
Variable $contentType
The MIME content type of the sync command.
Variable $credData
Authentication credential as specified by the <Cred><Data> element.
Variable $credFormat
Encoding format of $credData as specified in the <Cred><Meta><Format> element like 'b64'.
Variable $credType
Media type of $credData as specified in the <Cred><Meta><Type> element like 'auth-basic'.
Variable $CTCaps
SyncML_DeviceInfo::$CTCaps in DeviceInfo.php
Multidimensional array that specifies the content type capabilities of the device.
Variable $cuid
SyncML_SyncElement::$cuid in SyncElement.php
The client ID for the data item processed in the sync command.
Variable $curSyncItem
Current sync element sent from client.
Method characters
Callback function called by WBXML parser.
Method characters
Character data handler for the XML parser, delegated from SyncML_ContentHandler::characters().
Function check
check() in testsync.php
Compares $r and $ref.
Method checkAuthentication
Authenticates the user at the backend.
Method close
Cleanup function called after all message processing is finished.
Method close
Cleanup function called after all message processing is finished.
Method closeSync
Completes a sync once everything is done: store the sync anchors so the next sync can be a delta sync and produce some debug info.
Function cmp
cmp() in testsync.php
Constant CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC
If true the client uid<->server uid map will be deleted when a SlowSync is done due to an anchor mismatch. An anchor mismatch may happen if a session terminates unexpectedly.
Constant CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC
If true the client uid<->server uid map will be deleted when a SlowSync is requested.
Function convertAnchors
convertAnchors() in testsync.php
Method convertClient2Server
Converts the content received from the client for the backend.
Method convertClient2Server
Convert the content.
Method convertClient2Server
Convert the content.
Method convertClient2Server
Converts the content received from the client for the backend.
Method convertClient2Server
Convert the content.
Method convertServer2Client
Converts the content from the backend to a format suitable for the client device.
Method convertServer2Client
Converts the content from the backend to a format suitable for the client device.
Method convertServer2Client
Converts the content from the backend to a format suitable for the client device.
Method convertServer2Client
Converts the content from the backend to a format suitable for the client device.
Method convertServer2Client
Converts the content from the backend to a format suitable for the client device.
Method convertServer2Client
Converts the content from the backend to a format suitable for the client device.
Method convertUTC2LocalTime
Converts an UTC timestamp like "20061222T110000Z" into a local timestamp like "20061222T130000" using the server timezone.
Method createSyncOutput
Creates a <Sync> output containing the server changes.
Method createUidMap
Creates a map entry to map between server and client IDs.
Method createUidMap
Method createUidMap
Creates a map entry to map between server and client IDs.
Method createUidMap
Creates a map entry to map between server and client IDs.
Page Command.php
Command.php in Command.php
Page Constants.php
Constants.php in Constants.php
d
top
Variable $DataStores
Array of SyncML_DataStore objects.
Variable $DataType
The datatype of the content type property, e.g. 'chr', 'int', 'bool', etc.
Variable $DataType
SyncML_Property::$DataType in DeviceInfo.php
The datatype of the content type property, e.g. 'chr', 'int', 'bool', etc.
Variable $debug
Variable $delayedFinal
Flag that is set if the client sends a Final but we are not finished with the current package and thus can't final this package yet.
Variable $deviceInfo
Device info provided by the SyncML DevInf data.
Variable $DevID
SyncML_DeviceInfo::$DevID in DeviceInfo.php
The (globally unique) identifier of the source synchronization device.
Variable $DevTyp
SyncML_DeviceInfo::$DevTyp in DeviceInfo.php
The type of the source synchronization device.
Variable $DisplayName
The display name of the content type property.
Variable $DisplayName
The display name of the content type property.
Variable $DisplayName
The display name of the datastore
Variable $DSMem
SyncML_DataStore::$DSMem in DeviceInfo.php
The maximum memory and item identifier for the datastore.
Function decodebase64data
decodebase64data() in testsync.php
Method deleteEntry
Deletes an entry from the server database.
Method deleteEntry
Deletes an entry from the server database.
Method deleteEntry
Deletes an entry from the server database.
Method deleteEntry
Backend::deleteEntry() in testpacket.php
Method deleteEntry_backend
Deletes an entry from the server database.
Page Device.php
Device.php in Device.php
Page DeviceInfo.php
DeviceInfo.php in DeviceInfo.php
e
top
Variable $elementType
Name of the sync command, like 'Add'.
Variable $Exts
SyncML_DeviceInfo::$Exts in DeviceInfo.php
The non-standard, experimental extensions supported by the device.
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method endElement
Callback function called by WBXML parser.
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method endElement
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Method eraseMap
Erases all mapping entries for one combination of user, device ID.
Method eraseMap
Erases all mapping entries for one combination of user, device ID.
Method eraseMap
Erases all mapping entries for one combination of user, device ID.
f
top
Variable $FwV
SyncML_DeviceInfo::$FwV in DeviceInfo.php
The firmware version of the device.
Method factory
Attempts to return a concrete SyncML_Backend instance based on $driver.
Method factory
Attempts to return a concrete SyncML_Device instance based on $driver.
Method factory
Attempts to return a concrete SyncML_Command instance based on $command.
Page Final.php
Final.php in Final.php
g
top
Method getCharset
Returns the charset.
Function getClient
getClient() in testsync.php
Retrieves the client data to be sent to the server
Method getClientAnchorNext
Method getClientLocURI
Method getCommandName
Returns the command name this instance is reponsible for.
Method getCurrentTimeStamp
Returns the current timestamp in the same format as used by getServerChanges().
Method getDataStore
Returns a SyncML_DataStore object for a certain source URI.
Method getDevice
Returns a SyncML_Device instance for the device used in this session.
Method getDevInfURI
Returns the DevInf URI based on the protocol version.
Method getOutput
Returns the XML|WBXML output once processing is finished.
Method getOutput
The final output as procuded by the _output Encoder. Either an XML string or a WBXML string.
Method getOutputSize
The length of the output as produced by the Encoder. To limit the size of individual messages.
Method getParameter
Extracts an HTTP GET like parameter from an URL.
Method getPendingSyncs
Returns all syncs which have pending elements left.
Method getPreferredContentType
Returns the guessed content type for a database URI.
Method getPreferredContentTypeClient
Returns the preferrred MIME content type of the client for the given sync data type (contacts/tasks/notes/calendar).
Method getPreferredRXContentType
Returns the preferred content type the client wants to receive.
Method getPreferredRXContentTypeVersion
Returns the version of the preferred content type the client wants to receive.
Method getProtocolName
Returns the protocol name based on the protocol version.
Function getResponse
getResponse() in testsync.php
Simulates a call to the SyncML server by sending data to the server.
Function getServer
getServer() in testsync.php
Retrieves the reference data for one packet.
Method getServerAnchorLast
Method getServerAnchorNext
Method getServerChange
Returns the client ID of server change identified by the change type and server ID.
Method getServerChanges
Returns entries that have been modified in the server database.
Method getServerChanges
Returns entries that have been modified in the server database.
Method getServerChanges
Returns entries that have been modified in the server database.
Method getServerLocURI
Method getSync
Method getSyncDeviceID
Returns the current device's ID.
Method getSyncs
Method getSyncsReceived
Function getUIDs
getUIDs() in testsync.php
Method getURI
Returns the namespace URI for the <SyncML> element.
Method getUser
Returns the current user.
Method getUserAnchors
Returns all previously written sync anchors for a user.
Method getVerDTD
Returns the <DevInf><VerDTD> content based on the protocol version.
Page Get.php
Get.php in Get.php
h
top
Variable $HwV
SyncML_DeviceInfo::$HwV in DeviceInfo.php
The hardware version of the device.
Method handleClientSyncItem
Here's where the actual processing of a client-sent Sync Item takes place. Entries are added, deleted or replaced from the server database by using backend API calls.
Method handleCommand
Implements the actual business logic of the Alert command.
Method handleCommand
Implements the actual business logic of the Sync command.
Method handleCommand
Processes one command after it has been completely parsed.
Method handleCommand
Implements the actual business logic of the Alert command.
Method handleCommand
Implements the actual business logic of the Alert command.
Method handleCommand
This method is supposed to implement the actual business logic of the command once the XML parsing is complete.
Method handleCommand
Implements the actual business logic of the Alert command.
Method handleCommand
Implements the actual business logic of the Alert command.
Method handleEnd
Finishes the response.
Method handleFinal
Notifies the sync that a final has been received by the client.
Method handleFinal
Propagates final tags here and then further to every sync.
Method handleHeader
Handles the header logic.
Method handleTasksInCalendar
Returns whether the device handles tasks and events in a single "calendar" sync.
Method handleTasksInCalendar
Method handleTasksInCalendar
Some devices like the Sony Ericsson P800/P900/P910 handle vtodos (tasks) and vevents in the same "calendar" sync.
Method hasPendingElements
Returns true if there are still outstanding server sync items to be sent to the client.
Method hasPendingSyncs
Returns whether there are any pending elements that have not been sent to due to message size restrictions. These will be sent int the next message.
Constant HORDE_BASE
HORDE_BASE in testsync.php
Page Horde.php
Horde.php in Horde.php
i
top
Method init
SyncML_XMLOutput::init() in XMLOutput.php
Method isAllSyncsComplete
Returns whether all syncs are in completed state or no syncs are present.
Method isComplete
Method isValidDatabaseURI
Returns whether a database URI is valid to be synced with this backend.
Method isValidDatabaseURI
Returns whether a database URI is valid to be synced with this backend.
Method isWBXML
To we create wbxml or not?
l
top
Method logFile
Backend::logFile() in testpacket.php
Method logFile
Logs data to a file in the debug directory.
Method logMessage
Backend::logMessage() in testpacket.php
Method logMessage
Logs a message in the backend.
Method logMessage
Logs a message in the backend.
m
top
Variable $Man
SyncML_DeviceInfo::$Man in DeviceInfo.php
The name of the manufacturer of the device.
Variable $MaxGUIDSize
The maximum size of a global unique identifier for the datastore in bytes.
Variable $maxMsgSize
The maximum allowed message size in bytes.
Variable $messageID
Id of the current message.
Variable $Mod
SyncML_DeviceInfo::$Mod in DeviceInfo.php
The model name or model number of the device.
Constant MIME_ICALENDAR
MIME_ICALENDAR in Constants.php
Constant MIME_MESSAGE
MIME_MESSAGE in Constants.php
Constant MIME_SYNCML_DEVICE_INFO_WBXML
Constant MIME_SYNCML_DEVICE_INFO_XML
Constant MIME_SYNCML_RELATIONAL_OBJECT
Constant MIME_SYNCML_WBXML
MIME_SYNCML_WBXML in Constants.php
Constant MIME_SYNCML_XML
MIME_SYNCML_XML in Constants.php
Constant MIME_SYNCML_XML_BOOKMARK
MIME_SYNCML_XML_BOOKMARK in Constants.php
Constant MIME_SYNCML_XML_EMAIL
MIME_SYNCML_XML_EMAIL in Constants.php
Constant MIME_TEXT_PLAIN
MIME_TEXT_PLAIN in Constants.php
Constant MIME_VCALENDAR
MIME_VCALENDAR in Constants.php
Constant MIME_VCARD_V21
MIME_VCARD_V21 in Constants.php
Constant MIME_VCARD_V30
MIME_VCARD_V30 in Constants.php
Constant MIME_XML_ICALENDAR
MIME_XML_ICALENDAR in Constants.php
Constant MSG_DEFAULT_LEN
MSG_DEFAULT_LEN in Constants.php
Standard size for a complete but empty SyncML message. Used in estimating the size for a message.
Constant MSG_TRAILER_LEN
MSG_TRAILER_LEN in Constants.php
The "safety margin" for the closing tags when finishing a message.
Page Map.php
Map.php in Map.php
n
top
Constant NAME_SPACE_URI_DEVINF
NAME_SPACE_URI_DEVINF in Constants.php
Constant NAME_SPACE_URI_DEVINF_1_1
NAME_SPACE_URI_DEVINF_1_1 in Constants.php
Constant NAME_SPACE_URI_DEVINF_1_2
NAME_SPACE_URI_DEVINF_1_2 in Constants.php
Constant NAME_SPACE_URI_METINF
NAME_SPACE_URI_METINF in Constants.php
Constant NAME_SPACE_URI_METINF_1_1
NAME_SPACE_URI_METINF_1_1 in Constants.php
Constant NAME_SPACE_URI_METINF_1_2
NAME_SPACE_URI_METINF_1_2 in Constants.php
Constant NAME_SPACE_URI_SYNCML
NAME_SPACE_URI_SYNCML in Constants.php
Constant NAME_SPACE_URI_SYNCML_1_1
NAME_SPACE_URI_SYNCML_1_1 in Constants.php
Constant NAME_SPACE_URI_SYNCML_1_2
NAME_SPACE_URI_SYNCML_1_2 in Constants.php
Page Nokia.php
Nokia.php in Nokia.php
o
top
Variable $OEM
SyncML_DeviceInfo::$OEM in DeviceInfo.php
The OEM (Original Equipment Manufacturer) of the device.
Method omitIndividualSyncStatus
Send individual status response for each Add,Delete,Replace.
Method omitIndividualSyncStatus
Returns whether to send individual status response for each Add, Delete and Replace.
Method outputAlert
Method outputBodyStart
Method outputDevInf
Method outputEnd
Method outputFinal
Method outputGetDevInf
Method outputHeader
Creates a SyncHdr output.
Method outputInit
Method outputStatus
Method outputSyncCommand
Creates a single Sync command
Method outputSyncEnd
Method outputSyncStart
p
top
Variable $Params
SyncML_Property::$Params in DeviceInfo.php
The supported parameters of the content type property.
Function parse_map
parse_map() in testsync.php
Parses and stores the map info sent by the client.
Function print_usage
print_usage() in testsync.php
Method process
Here's were all the processing takes place: gets the SyncML request data and returns a SyncML response. The only thing that needs to be in place before invoking this function is a working backend.
Page Put.php
Put.php in Put.php
Page P800.php
P800.php in P800.php
r
top
Variable $requestedContentType
The original preferred content type of the client, if provided through DevInf.
Variable $responseCode
The code to be sent as status response in a <Status> element, one of the RESPONSE_* constants.
Variable $Rx
SyncML_DataStore::$Rx in DeviceInfo.php
The supported types and versions of a content type received by the device.
Variable $Rx_Pref
SyncML_DataStore::$Rx_Pref in DeviceInfo.php
The preferred types and versions of a content type received by the device.
Method readSyncAnchors
Reads the previously written sync anchors from the database.
Method readSyncAnchors
Reads the previously written sync anchors from the database.
Method readSyncAnchors
Reads the previously written sync anchors from the database.
Method removeAnchor
Deletes previously written sync anchors for a user.
Method replaceEntry
Replaces an entry in the server database.
Method replaceEntry
Backend::replaceEntry() in testpacket.php
Method replaceEntry
Replaces an entry in the server database.
Method replaceEntry
Replaces an entry in the server database.
Method replaceEntry_backend
Replaces an entry in the server database.
Constant RESPONSE_ACCEPTED_FOR_PROCESSING
Constant RESPONSE_ATOMIC_ROLL_BACK_OK
Constant RESPONSE_AUTHENTICATION_ACCEPTED
Constant RESPONSE_BAD_REQUEST
RESPONSE_BAD_REQUEST in Constants.php
Constant RESPONSE_CHUNKED_ITEM_ACCEPTED_AND_BUFFERED
Constant RESPONSE_COMMAND_FAILED
RESPONSE_COMMAND_FAILED in Constants.php
Constant RESPONSE_CONFILCT_RESOLVED_WITH_DUPLICATE
Constant RESPONSE_CONFLICT_RESOLVED_WITH_CLIENT_WINNING
Constant RESPONSE_CONFLICT_RESOLVED_WITH_MERGE
Constant RESPONSE_CREDENTIALS_MISSING
Constant RESPONSE_DELETE_WITHOUT_ARCHIVE
Constant RESPONSE_INVALID_CREDENTIALS
Constant RESPONSE_IN_PROGRESS
RESPONSE_IN_PROGRESS in Constants.php
Constant RESPONSE_ITEM_ADDED
RESPONSE_ITEM_ADDED in Constants.php
Constant RESPONSE_ITEM_NO_DELETED
RESPONSE_ITEM_NO_DELETED in Constants.php
Constant RESPONSE_MULTIPLE_CHOICES
RESPONSE_MULTIPLE_CHOICES in Constants.php
Constant RESPONSE_NONAUTHORIATATIVE_RESPONSE
Constant RESPONSE_NOT_FOUND
RESPONSE_NOT_FOUND in Constants.php
Constant RESPONSE_NO_CONTENT
RESPONSE_NO_CONTENT in Constants.php
Constant RESPONSE_NO_EXECUTED
RESPONSE_NO_EXECUTED in Constants.php
Constant RESPONSE_OK
RESPONSE_OK in Constants.php
Constant RESPONSE_OPERATION_CANCELLED
Constant RESPONSE_PARTIAL_CONTENT
RESPONSE_PARTIAL_CONTENT in Constants.php
Constant RESPONSE_REFRESH_REQUIRED
RESPONSE_REFRESH_REQUIRED in Constants.php
Constant RESPONSE_REQUEST_SIZE_TOO_BIG
Constant RESPONSE_RESET_CONTENT
RESPONSE_RESET_CONTENT in Constants.php
Constant RESPONSE_SIZE_MISMATCH
RESPONSE_SIZE_MISMATCH in Constants.php
Constant RESPONSE_USE_PROXY
RESPONSE_USE_PROXY in Constants.php
Method retrieveEntry
Retrieves an entry from the backend.
Method retrieveEntry
Retrieves an entry from the backend.
Method retrieveEntry
Retrieves an entry from the backend.
Page Replace.php
Replace.php in Replace.php
Page Results.php
Results.php in Results.php
s
top
Variable $serverChanges
The list of all server changes being sent to the client as a reference for Status responses from the client.
Variable $sessionID
Id of this SyncML session.
Variable $Size
The size of the content type property in bytes.
Variable $Size
SyncML_Property::$Size in DeviceInfo.php
The size of the content type property in bytes.
Variable $size
SyncML_SyncElement::$size in SyncElement.php
The size of the data item of the sync command in bytes as specified by a <Size> element.
Variable $SourceRef
The local URI of the datastore.
Variable $sourceURI
The source URI as sent by the client.
Variable $SupportLargeObjs
Whether the device supports handling of large objects.
Variable $SupportNumberOfChanges
Whether the device supports number of changes.
Variable $SwV
SyncML_DeviceInfo::$SwV in DeviceInfo.php
The software version of the device.
Variable $sync
SyncML_SyncElement::$sync in SyncElement.php
The Sync object for this element is part of.
Variable $SyncCap
SyncML_DataStore::$SyncCap in DeviceInfo.php
The synchronization capabilities of the datastore.
Constant SERVER_MAXMSGSIZE
SERVER_MAXMSGSIZE in Constants.php
Maximum size for one sync message as defined by SyncML protocol spec.
Constant SERVER_MAXOBJSIZE
SERVER_MAXOBJSIZE in Constants.php
Maximum Size of a data object. Currently global for all databases.
Method sessionClose
Closes the PHP session.
Method sessionStart
Starts a PHP session.
Method sessionStart
Starts a PHP session.
Method setAuthenticated
Sets a user as being authenticated at the backend.
Method setAuthenticated
Sets a user as being authenticated at the backend.
Method setAuthenticated
Sets a user as being authenticated at the backend.
Method setCharset
Sets the charset.
Method setCharset
Sets the charset.
Method setServerChange
Sets the client ID of server change identified by the change type and server ID.
Method setSync
Method setupState
Starts the PHP session and instantiates the global SyncML_State object if doesn't exist yet.
Method setupState
Backend::setupState() in testpacket.php
Method setupState
Is called after the SyncML_State object has been set up, either restored from the session, or freshly created.
Method setUser
Sets the user used for this session.
Method setUser
Sets the user used for this session.
Method setVersion
Sets the protocol version
Method sif2vcard
Method sif2vevent
Method sif2vnote
Method sif2vtodo
Method singleton
Function sortChanges
sortChanges() in testsync.php
We can't know in which ordeer changes (Add|Replace|Delete) changes are
Method startElement
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
Method startElement
Callback function called by WBXML parser.
Method startElement
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
Method startElement
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
Constant STATE_COMPLETED
STATE_COMPLETED in Sync.php
Constant STATE_INIT
STATE_INIT in Sync.php
Constant STATE_MAP
STATE_MAP in Sync.php
Constant STATE_SYNC
STATE_SYNC in Sync.php
Page Sql.php
Sql.php in Sql.php
Page Status.php
Status.php in Status.php
Page Sync.php
Sync.php in Sync.php
Page SyncElement.php
SyncElement.php in SyncElement.php
Page SyncHdr.php
SyncHdr.php in SyncHdr.php
Page Sync4j.php
Sync4j.php in Sync4j.php
Page Sync4JMozilla.php
Sync4JMozilla.php in Sync4JMozilla.php
Page Synthesis.php
Synthesis.php in Synthesis.php
Page State.php
State.php in State.php
Page Sync.php
Sync.php in Sync.php
Page SyncML.php
SyncML.php in SyncML.php
Constant SYNCMLTEST_USERNAME
SYNCMLTEST_USERNAME in testsync.php
Method SyncML_Backend
Constructor.
Class SyncML_Backend
SyncML_Backend in Backend.php
Constant SYNCML_BACKENDMODE_CLIENT
Constant SYNCML_BACKENDMODE_SERVER
Backend modes.
Constant SYNCML_BACKENDMODE_TEST
Method SyncML_Backend_Horde
Constructor.
Class SyncML_Backend_Horde
Class SyncML_Backend_Sql
Method SyncML_Backend_Sql
Constructor.
Method SyncML_Command
Constructor.
Class SyncML_Command
SyncML_Command in Command.php
The SyncML_Command class provides a base class for handling all <SyncBody> commands.
Class SyncML_Command_Alert
The SyncML_Command_Alert class provides a SyncML implementation of the Alert command as defined in SyncML Representation Protocol, version 1.1, section 5.5.2.
Class SyncML_Command_Final
The SyncML_Command_Final class provides a SyncML implementation of the Final command as defined in SyncML Representation Protocol, version 1.1, section 5.1.7.
Class SyncML_Command_Get
The SyncML_Command_Get class provides a SyncML implementation of the Get command as defined in SyncML Representation Protocol, version 1.1, section 5.5.7.
Class SyncML_Command_Map
The SyncML_Command_Map class provides a SyncML implementation of the Map command as defined in SyncML Representation Protocol, version 1.1, section 5.5.8.
Class SyncML_Command_Put
The SyncML_Command_Put class provides a SyncML implementation of the Put command as defined in SyncML Representation Protocol, version 1.1, section 5.5.10.
Class SyncML_Command_Replace
SyncML_Command_Replace in Replace.php
The SyncML_Command_Replace class provides a SyncML implementation of the Replace command as defined in SyncML Representation Protocol, version 1.1, section 5.5.11.
Class SyncML_Command_Results
SyncML_Command_Results in Results.php
The SyncML_Command_Results class provides a SyncML implementation of the Results command as defined in SyncML Representation Protocol, version 1.1, section 5.5.12.
Class SyncML_Command_Status
SyncML_Command_Status in Status.php
The SyncML_Command_Status class provides a SyncML implementation of the Status response as defined in SyncML Representation Protocol, version 1.1, section 5.4.
Class SyncML_Command_Sync
The SyncML_Command_Sync class provides a SyncML implementation of the Sync command as defined in SyncML Representation Protocol, version 1.1, section 5.5.15.
Class SyncML_Command_SyncHdr
SyncML_Command_SyncHdr in SyncHdr.php
The SyncML_Command_SyncHdr class provides a SyncML implementation of the SyncHdr as defined in SyncML Representation Protocol, version 1.1, section 5.2.2.
Method SyncML_ContentHandler
Class SyncML_ContentHandler
SyncML_ContentHandler in SyncML.php
Class SyncML_DataStore
SyncML_DataStore in DeviceInfo.php
The SyncML_DataStore class describes one of the possible datastores (i.e. databases) of the device.
Class SyncML_Device
SyncML_Device in Device.php
The SyncML_Device:: class provides functionality that is potentially (client) device dependant.
Class SyncML_DeviceInfo
SyncML_DeviceInfo in DeviceInfo.php
SyncML_DeviceInfo represents a device information set according to the SyncML specification.
Class SyncML_Device_Nokia
SyncML_Device_Nokia in Nokia.php
The SyncML_Device_Nokia:: class provides functionality that is specific to the Nokia SyncML clients.
Class SyncML_Device_P800
SyncML_Device_P800 in P800.php
P800/P900/P910: --------------- Charset: This device is able to handle UTF-8 and sends its XML packages in UTF8.
Class SyncML_Device_sync4j
SyncML_Device_sync4j in Sync4j.php
Sync4j (www.sync4j.org)
Class SyncML_Device_Sync4JMozilla
SyncML_Device_Sync4JMozilla in Sync4JMozilla.php
The SyncML_Device_Sync4JMozilla:: class provides functionality that is specific to the Sync4JMozilla Plugin. See http://sourceforge.net/projects/sync4jmozilla/
Class SyncML_Device_Synthesis
SyncML_Device_Synthesis in Synthesis.php
The SyncML_Device_Synthesis:: class provides functionality that is specific to the Synthesis.ch SyncML clients.
Constant SYNCML_LOGFILE_CLIENTMESSAGE
Types of logfiles. See logFile() method.
Constant SYNCML_LOGFILE_DATA
SYNCML_LOGFILE_DATA in Backend.php
Constant SYNCML_LOGFILE_DEVINF
SYNCML_LOGFILE_DEVINF in Backend.php
Constant SYNCML_LOGFILE_SERVERMESSAGE
Class SyncML_Property
SyncML_Property in DeviceInfo.php
The SyncML_Property class is used to define a single property of a data item supported by the device.
Class SyncML_PropertyParameter
SyncML_PropertyParameter in DeviceInfo.php
The SyncML_PropertyParameter class is used to define a single parameter of a property of a data item supported by the device.
Class SyncML_State
SyncML_State in State.php
The SyncML_State class provides a SyncML state object.
Method SyncML_State
Constructor.
Class SyncML_Sync
SyncML_Sync in Sync.php
Method SyncML_Sync
Class SyncML_SyncElement
SyncML_SyncElement in SyncElement.php
The class SyncML_Command_SyncElement stores information from the <Add>, <Delete> and <Replace> elements found inside a <Sync> command.
Method SyncML_SyncElement
Constructor.
Class SyncML_XMLOutput
SyncML_XMLOutput in XMLOutput.php
This class creates the actual XML data and passes it on to a ContentHandler for optional WBXML encoding.
t
top
Variable $targetURI
The target URI as sent by the client.
Variable $Tx
SyncML_DataStore::$Tx in DeviceInfo.php
The supported types and versions of a content type transmitted by the device.
Variable $Tx_Pref
SyncML_DataStore::$Tx_Pref in DeviceInfo.php
The preferred types and versions of a content type transmitted by the device.
Page testpacket.php
testpacket.php in testpacket.php
Page testsync.php
testsync.php in testsync.php
Function test
test() in testsync.php
Executes one test case.
Function testPre
testPre() in testsync.php
When a test case contains adds/modifies/deletes being sent to the server,
Function testSession
testSession() in testsync.php
Tests one sync session.
Method testSetup
Creates a clean test environment in the backend.
Method testSetup
Creates a clean test environment in the backend.
Method testSetup
Creates a clean test environment in the backend.
Method testStart
Prepares the test start.
Method testStart
Prepares the test start.
Method testStart
Prepares the test start.
Method testTearDown
Tears down the test environment after the test is run.
Method testTearDown
Tears down the test environment after the test is run.
Method testTearDown
Tears down the test environment after the test is run.
u
top
Variable $uriDevInf
<DevInf> namespace uri.
Variable $uriMeta
<Meta> namespace uri.
Variable $user
Username as specified in the <LocName> element.
Variable $user
SyncML_State::$user in State.php
Username used to authenticate with the backend.
Variable $UTC
SyncML_DeviceInfo::$UTC in DeviceInfo.php
Whether the device supports UTC based time.
Method unsetServerChange
Unsets the server-client-map of server change identified by the change type and server ID.
Method useCdataTag
Returns whether the payload data should be enclosed in a [CDATA[ section when sending via XML.
Method useCdataTag
Sync4j as of Funambol Outlook connector 3.0.15 can't deal with <![CDATA[ so omit it.
Method useLocalTime
Returns whether the device accepts datetimes only in local time format (DTSTART:20061222T130000) instead of the more robust UTC time (DTSTART:20061222T110000Z).
Method useLocalTime
Some devices accept datetimes only in local time format:
Method UTC2LocalDate
v
top
Variable $ValEnum
The supported enumerated values of the content type property.
Variable $ValEnum
SyncML_Property::$ValEnum in DeviceInfo.php
The supported enumerated values of the content type property.
Variable $VerDTD
SyncML_DeviceInfo::$VerDTD in DeviceInfo.php
The major and minor version identifier of the Device Information DTD.
Variable $version
SyncML protocol version.
Method vcard2sif
Method vevent2sif
Method vnote2sif
Method vtodo2sif
w
top
Variable $wbxml
Whether WBXML encoding is used.
Method writeSyncAnchors
Stores Sync anchors after a successful synchronization to allow two-way synchronization next time.
Method writeSyncAnchors
Stores Sync anchors after a successful synchronization to allow two-way synchronization next time.
Method writeSyncAnchors
Stores Sync anchors after a successful synchronization to allow two-way synchronization next time.
x
top
Page XMLOutput.php
XMLOutput.php in XMLOutput.php
a b c d e f g h i l m n o p r s t u v w x _