-
$_alert
-
The alert type. Should be one of the ALERT_* constants.
-
$_backendMode
-
The backend mode. One of the SYNCML_BACKENDMODE_* constants.
-
$_chars
-
Buffer for the parsed character data.
-
$_chars
-
-
$_charset
-
The charset used in the SyncML messages.
-
$_clientAnchorNext
-
Sync Anchors determine the interval from which changes are retrieved.
-
$_client_addreplaces
-
Add due to client replace request when map entry is not found. Happens during SlowSync.
-
$_client_add_count
-
Number of objects that have been sent to the server for adding.
-
$_client_delete_count
-
Number of objects that have been sent to the server for deletion.
-
$_client_replace_count
-
Number of objects that have been sent to the server for replacement.
-
$_Cmd
-
The command (Add, Replace, etc) sent to the client, that this Status response refers to.
-
$_cmdID
-
The command ID (<CmdID>).
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command, like 'Put'.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_cmdName
-
Name of the command.
-
$_CmdRef
-
The command ID (CmdID) of the command sent to the client, that this Status response refers to.
-
$_contentFormat
-
Encoding format of the content as specified in the <Meta><Format> element, like 'b64'.
-
$_contentType
-
The MIME content type of the currently parsed sync command as specified by the <Type> element inside a <Meta> section.
-
$_curItem
-
SyncML_SyncElement object for the currently parsed sync command.
-
$_currentCommand
-
Instance of SyncML_Command. Events are passed through to this ContentHandler.
-
$_currentCTType
-
The MIME content type as specified by the last <CTType> element like text/calendar or text/x-vcard.
-
$_currentDS
-
A SyncML_DataStore object where the information from the currently parsed <DataStore> section is saved.
-
$_currentParamName
-
A property name of the currently parsed property name (PropName), like 'ROLE' for 'ATTENDEE' or 'HOME' for 'ADR'.
-
$_currentPropName
-
A property name of the currently parsed content type (CTType), like 'DTSTART' for text/calendar or 'BDAY' for text/x-vcard.
-
$_currentXNam
-
The name of the currently parsed DevInf extension (<Ext>) as specified by the XNam element.
-
$_db
-
A PEAR MDB2 instance.
-
$_db
-
A PEAR DB instance.
-
$_debugDir
-
The directory where debugging information is stored.
-
$_debugFiles
-
Whether to save SyncML messages in the debug directory.
-
$_deviceDriver
-
Name of the appropriate device driver.
-
$_devinf
-
The SyncML_DeviceInfo object where all parsed <DevInf> content is saved.
-
$_elementType
-
Name of the currently parsed sync command, like 'Add'.
-
$_errors
-
Number of failed actions, for logging purposes only.
-
$_expectingMapData
-
Map data is expected whenever an add is sent to the client.
-
$_gotFinal
-
Whether we received a final element in this message.
-
$_itemCmdID
-
The command ID (<CmdID>) of the currently parsed sync command.
-
$_itemMoreData
-
Whether a <MoreData> element has indicated that the sync command is split into several SyncML message chunks.
-
$_itemSize
-
The size of the data item of the currently parsed sync command in bytes as specified by a <Size> element.
-
$_logLevel
-
-
$_logLevel
-
The log level. One of the PEAR_LOG_* constants.
-
$_logtext
-
The concatenated log messages.
-
$_mapSources
-
Originator map item specifiers.
-
$_mapTargets
-
Recipient map item specifiers.
-
$_maxMsgSize
-
Maximum size of a SyncML message in bytes as specified by the <Meta><MaxMsgSize> element.
-
$_message
-
Id of the current message as specified in the <MsgID> element.
-
$_metaAnchorLast
-
The last time when synchronization happened, from the <Meta><Last> element.
-
$_metaAnchorNext
-
The current time this synchronization happens, from the <Meta><Next> element.
-
$_MsgRef
-
The message ID (Msg) of the message sent to the client, that this Status response refers to.
-
$_msg_CmdID
-
The CmdID provides a unique ID for each command in a syncml packet.
-
$_output
-
The outputhandler to whom the XML is passed: like XML_WBXML_Encoder
-
$_outputHandler
-
A SyncML_XMLOutput instance responsible for generating the output.
-
$_respURI
-
The response URI as sent by the server.
-
$_serverAnchorLast
-
-
$_serverAnchorNext
-
-
$_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.
-
$_server_add_count
-
Number of objects that have been sent to the client for adding.
-
$_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.
-
$_server_delete_count
-
Number of objects that have been sent to the client for deletion.
-
$_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.
-
$_server_replace_count
-
Number of objects that have been sent to the client for replacement.
-
$_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.
-
$_sessionID
-
Id of this SyncML session as specified in the <SessionID> element.
-
$_sourceLocURI
-
Source database of the Map command.
-
$_sourceLocURI
-
Source (server) URI (database).
-
$_sourceLocURI
-
Source database of the Alert command.
-
$_SourceRef
-
The server ID of the sent object, that this Status response refers to.
-
$_sourceURI
-
The source URI as specified by the <Source><LocURI> element.
-
$_sourceURI
-
Source database of the <Sync> command.
-
$_stack
-
Stack for holding the XML elements during creation of the object from the XML event flow.
-
$_Stack
-
Stack for holding the xml elements during creation of the object from the xml event flow.
-
$_state
-
State of the current sync.
-
$_Status
-
The status response code, one of the RESPONSE_* constants.
-
$_syncDeviceID
-
The ID of the client device.
-
$_syncElements
-
List of all SyncML_SyncElement objects that have parsed.
-
$_syncs
-
Array of SyncML_Sync objects.
-
$_syncsReceived
-
Counts the <Sync>s received by the server. Currently unused.
-
$_syncsSent
-
Counts the <Sync>s sent by the server.
-
$_syncType
-
The synchronization method, one of the ALERT_* constants.
-
$_targetLocURI
-
Target database of the Alert command.
-
$_targetLocURI
-
Target (client) URI (database).
-
$_targetLocURI
-
Target database of the Map command.
-
$_TargetRef
-
The client ID of the sent object, that this Status response refers to.
-
$_targetURI
-
The target URI as specified by the <Target><LocURI> element.
-
$_targetURI
-
Target database of the <Sync> command.
-
$_uri
-
<SyncML> namespace uri.
-
$_uri
-
-
$_user
-
The current user.
-
$_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.
-
$_version
-
SyncML protocol version as specified in the <VerProto> element.
-
$_wbxmlparser
-
-
$_xmlWriter
-
-
_characters
-
Callback function called by XML parser.
-
_checkAuthentication
-
Authenticates the user at the backend.
-
_checkAuthentication
-
Authenticates the user at the backend.
-
_checkAuthentication
-
Authenticates the user at the backend.
-
_checkAuthentication
-
-
_checkForError
-
Checks if the parameter is a PEAR_Error object and if so logs the error.
-
_cleanUser
-
-
_endElement
-
Callback function called by XML parser.
-
_generateID
-
Generates a unique ID used as suid
-
_getChangeTS
-
Returns a timestamp stored in the map for a given Server ID.
-
_getChangeTS
-
Returns a timestamp stored in the map for a given Server ID.
-
_getCuid
-
Retrieves the Client ID for a given Server ID from the map.
-
_getCuid
-
Retrieves the Client ID for a given Server ID from the map.
-
_getSuid
-
Retrieves the Server ID for a given Client ID from the map.
-
_getSuid
-
Retrieves the Server ID for a given Client ID from the map.
-
_normalize
-
Normalizes a databaseURI to a database name, so that _normalize('tasks?ignorecompleted') should return just 'tasks'.
-
_outputCmdID
-
-
_outputStatus
-
Creates the <Status> response for one Add|Replace|Delete SyncElement.
-
_removeFromSuidList
-
Removes a suid from the suidlist.
-
_retrieveChanges
-
Retrieves and condenses the changes on the server side since the last synchronization.
-
_singleEle
-
Output a single <ele>$str</ele> element.
-
_splitURI
-
Splits an URI as provided by the XML parser.
-
_startElement
-
Callback function called by XML parser.
-
_taskToCalendar
-
Converts a calendar databaseURI to a tasks databaseURI for devices with handleTasksInCalendar.
-
_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.
-
_writeDataStore
-
Writes DevInf data for one DataStore.
-
$cmdID
-
The command ID (<CmdID>) of the sync command.
-
$content
-
The actual data content of the sync command.
-
$contentFormat
-
Encoding format of the content as specified in the <Meta><Format> element, like 'b64'.
-
$contentType
-
The MIME content type of the sync command.
-
$credData
-
Authentication credential as specified by the <Cred><Data> element.
-
$credFormat
-
Encoding format of $credData as specified in the <Cred><Meta><Format> element like 'b64'.
-
$credType
-
Media type of $credData as specified in the <Cred><Meta><Type> element like 'auth-basic'.
-
$CTCaps
-
Multidimensional array that specifies the content type capabilities of the device.
-
$cuid
-
The client ID for the data item processed in the sync command.
-
$curSyncItem
-
Current sync element sent from client.
-
characters
-
Callback function called by WBXML parser.
-
characters
-
Character data handler for the XML parser, delegated from SyncML_ContentHandler::characters().
-
check
-
Compares $r and $ref.
-
checkAuthentication
-
Authenticates the user at the backend.
-
close
-
Cleanup function called after all message processing is finished.
-
close
-
Cleanup function called after all message processing is finished.
-
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.
-
cmp
-
-
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.
-
CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC
-
If true the client uid<->server uid map will be deleted when a SlowSync is requested.
-
convertAnchors
-
-
convertClient2Server
-
Converts the content received from the client for the backend.
-
convertClient2Server
-
Convert the content.
-
convertClient2Server
-
Convert the content.
-
convertClient2Server
-
Converts the content received from the client for the backend.
-
convertClient2Server
-
Convert the content.
-
convertServer2Client
-
Converts the content from the backend to a format suitable for the client device.
-
convertServer2Client
-
Converts the content from the backend to a format suitable for the client device.
-
convertServer2Client
-
Converts the content from the backend to a format suitable for the client device.
-
convertServer2Client
-
Converts the content from the backend to a format suitable for the client device.
-
convertServer2Client
-
Converts the content from the backend to a format suitable for the client device.
-
convertServer2Client
-
Converts the content from the backend to a format suitable for the client device.
-
convertUTC2LocalTime
-
Converts an UTC timestamp like "20061222T110000Z" into a local timestamp like "20061222T130000" using the server timezone.
-
createSyncOutput
-
Creates a <Sync> output containing the server changes.
-
createUidMap
-
Creates a map entry to map between server and client IDs.
-
createUidMap
-
-
createUidMap
-
Creates a map entry to map between server and client IDs.
-
createUidMap
-
Creates a map entry to map between server and client IDs.
-
Command.php
-
-
Constants.php
-
-
getCharset
-
Returns the charset.
-
getClient
-
Retrieves the client data to be sent to the server
-
getClientAnchorNext
-
-
getClientLocURI
-
-
getCommandName
-
Returns the command name this instance is reponsible for.
-
getCurrentTimeStamp
-
Returns the current timestamp in the same format as used by getServerChanges().
-
getDataStore
-
Returns a SyncML_DataStore object for a certain source URI.
-
getDevice
-
Returns a SyncML_Device instance for the device used in this session.
-
getDevInfURI
-
Returns the DevInf URI based on the protocol version.
-
getOutput
-
Returns the XML|WBXML output once processing is finished.
-
getOutput
-
The final output as procuded by the _output Encoder. Either an XML string or a WBXML string.
-
getOutputSize
-
The length of the output as produced by the Encoder. To limit the size of individual messages.
-
getParameter
-
Extracts an HTTP GET like parameter from an URL.
-
getPendingSyncs
-
Returns all syncs which have pending elements left.
-
getPreferredContentType
-
Returns the guessed content type for a database URI.
-
getPreferredContentTypeClient
-
Returns the preferrred MIME content type of the client for the given sync data type (contacts/tasks/notes/calendar).
-
getPreferredRXContentType
-
Returns the preferred content type the client wants to receive.
-
getPreferredRXContentTypeVersion
-
Returns the version of the preferred content type the client wants to receive.
-
getProtocolName
-
Returns the protocol name based on the protocol version.
-
getResponse
-
Simulates a call to the SyncML server by sending data to the server.
-
getServer
-
Retrieves the reference data for one packet.
-
getServerAnchorLast
-
-
getServerAnchorNext
-
-
getServerChange
-
Returns the client ID of server change identified by the change type and server ID.
-
getServerChanges
-
Returns entries that have been modified in the server database.
-
getServerChanges
-
Returns entries that have been modified in the server database.
-
getServerChanges
-
Returns entries that have been modified in the server database.
-
getServerLocURI
-
-
getSync
-
-
getSyncDeviceID
-
Returns the current device's ID.
-
getSyncs
-
-
getSyncsReceived
-
-
getUIDs
-
-
getURI
-
Returns the namespace URI for the <SyncML> element.
-
getUser
-
Returns the current user.
-
getUserAnchors
-
Returns all previously written sync anchors for a user.
-
getVerDTD
-
Returns the <DevInf><VerDTD> content based on the protocol version.
-
Get.php
-
-
$serverChanges
-
The list of all server changes being sent to the client as a reference for Status responses from the client.
-
$sessionID
-
Id of this SyncML session.
-
$Size
-
The size of the content type property in bytes.
-
$Size
-
The size of the content type property in bytes.
-
$size
-
The size of the data item of the sync command in bytes as specified by a <Size> element.
-
$SourceRef
-
The local URI of the datastore.
-
$sourceURI
-
The source URI as sent by the client.
-
$SupportLargeObjs
-
Whether the device supports handling of large objects.
-
$SupportNumberOfChanges
-
Whether the device supports number of changes.
-
$SwV
-
The software version of the device.
-
$sync
-
The Sync object for this element is part of.
-
$SyncCap
-
The synchronization capabilities of the datastore.
-
SERVER_MAXMSGSIZE
-
Maximum size for one sync message as defined by SyncML protocol spec.
-
SERVER_MAXOBJSIZE
-
Maximum Size of a data object. Currently global for all databases.
-
sessionClose
-
Closes the PHP session.
-
sessionStart
-
Starts a PHP session.
-
sessionStart
-
Starts a PHP session.
-
setAuthenticated
-
Sets a user as being authenticated at the backend.
-
setAuthenticated
-
Sets a user as being authenticated at the backend.
-
setAuthenticated
-
Sets a user as being authenticated at the backend.
-
setCharset
-
Sets the charset.
-
setCharset
-
Sets the charset.
-
setServerChange
-
Sets the client ID of server change identified by the change type and server ID.
-
setSync
-
-
setupState
-
Starts the PHP session and instantiates the global SyncML_State object if doesn't exist yet.
-
setupState
-
-
setupState
-
Is called after the SyncML_State object has been set up, either restored from the session, or freshly created.
-
setUser
-
Sets the user used for this session.
-
setUser
-
Sets the user used for this session.
-
setVersion
-
Sets the protocol version
-
sif2vcard
-
-
sif2vevent
-
-
sif2vnote
-
-
sif2vtodo
-
-
singleton
-
-
sortChanges
-
We can't know in which ordeer changes (Add|Replace|Delete) changes are
-
startElement
-
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
-
startElement
-
Callback function called by WBXML parser.
-
startElement
-
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
-
startElement
-
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
-
STATE_COMPLETED
-
-
STATE_INIT
-
-
STATE_MAP
-
-
STATE_SYNC
-
-
Sql.php
-
-
Status.php
-
-
Sync.php
-
-
SyncElement.php
-
-
SyncHdr.php
-
-
Sync4j.php
-
-
Sync4JMozilla.php
-
-
Synthesis.php
-
-
State.php
-
-
Sync.php
-
-
SyncML.php
-
-
SYNCMLTEST_USERNAME
-
-
SyncML_Backend
-
Constructor.
-
SyncML_Backend
-
-
SYNCML_BACKENDMODE_CLIENT
-
-
SYNCML_BACKENDMODE_SERVER
-
Backend modes.
-
SYNCML_BACKENDMODE_TEST
-
-
SyncML_Backend_Horde
-
Constructor.
-
SyncML_Backend_Horde
-
-
SyncML_Backend_Sql
-
-
SyncML_Backend_Sql
-
Constructor.
-
SyncML_Command
-
Constructor.
-
SyncML_Command
-
The SyncML_Command class provides a base class for handling all <SyncBody> commands.
-
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.
-
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.
-
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.
-
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.
-
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.
-
SyncML_Command_Replace
-
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.
-
SyncML_Command_Results
-
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.
-
SyncML_Command_Status
-
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.
-
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.
-
SyncML_Command_SyncHdr
-
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.
-
SyncML_ContentHandler
-
-
SyncML_ContentHandler
-
-
SyncML_DataStore
-
The SyncML_DataStore class describes one of the possible datastores (i.e. databases) of the device.
-
SyncML_Device
-
The SyncML_Device:: class provides functionality that is potentially (client) device dependant.
-
SyncML_DeviceInfo
-
SyncML_DeviceInfo represents a device information set according to the SyncML specification.
-
SyncML_Device_Nokia
-
The SyncML_Device_Nokia:: class provides functionality that is specific to the Nokia SyncML clients.
-
SyncML_Device_P800
-
P800/P900/P910: --------------- Charset: This device is able to handle UTF-8 and sends its XML packages in UTF8.
-
SyncML_Device_sync4j
-
Sync4j (www.sync4j.org)
-
SyncML_Device_Sync4JMozilla
-
The SyncML_Device_Sync4JMozilla:: class provides functionality that is specific to the Sync4JMozilla Plugin. See http://sourceforge.net/projects/sync4jmozilla/
-
SyncML_Device_Synthesis
-
The SyncML_Device_Synthesis:: class provides functionality that is specific to the Synthesis.ch SyncML clients.
-
SYNCML_LOGFILE_CLIENTMESSAGE
-
Types of logfiles. See logFile() method.
-
SYNCML_LOGFILE_DATA
-
-
SYNCML_LOGFILE_DEVINF
-
-
SYNCML_LOGFILE_SERVERMESSAGE
-
-
SyncML_Property
-
The SyncML_Property class is used to define a single property of a data item supported by the device.
-
SyncML_PropertyParameter
-
The SyncML_PropertyParameter class is used to define a single parameter of a property of a data item supported by the device.
-
SyncML_State
-
The SyncML_State class provides a SyncML state object.
-
SyncML_State
-
Constructor.
-
SyncML_Sync
-
-
SyncML_Sync
-
-
SyncML_SyncElement
-
The class SyncML_Command_SyncElement stores information from the <Add>, <Delete> and <Replace> elements found inside a <Sync> command.
-
SyncML_SyncElement
-
Constructor.
-
SyncML_XMLOutput
-
This class creates the actual XML data and passes it on to a ContentHandler for optional WBXML encoding.