$debug
$debug :
There is one global object used by SyncML: 1) $GLOBALS['backend'] Backend to handle the communication with the datastore.
$_currentCommand : \Horde_SyncMl_Command
Instance of Horde_SyncMl_Command. Events are passed through to this ContentHandler.
process(string $request, string $contentType, string $respURI = null)
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 public function is a working backend.
string | $request | The raw request string. |
string | $contentType | The MIME content type of the request. Should be either application/vnd.syncml or application/vnd.syncml+wbxml. |
string | $respURI | The url of the server endpoint. Will be returned in the RespURI element. |