Class Horde_SyncMl_Command_Sync
The Horde_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.
The Sync command is used to indicate a data synchronization operation. The command handler for the Sync command is the central class to dispatch sync messages.
During parsing of the received XML, the actual sync commands (Add, Replace, Delete) from the client are stored in the $_syncElements attribute. When the output method of Horde_SyncMl_Command_Sync is called, these elements are processed and the resulting status messages created. Then the server modifications are sent back to the client by the handleSync() method which is called from within the output method.
Copyright 2005-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_SyncMl_Command
- Horde_SyncMl_Command_Sync
Author: Karsten Fourmont karsten@horde.org
Author: Jan Schneider jan@horde.org
Located at Horde/SyncMl/Command/Sync.php
public
|
#
startElement( string $uri, string $element, array $attrs )
Start element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::startElement(). |
public
|
#
endElement( string $uri, string $element )
End element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::endElement(). |
public
|
__construct(),
characters(),
factory(),
getCommandName()
|