The SyncML_Command class provides a base class for handling all <SyncBody> commands.
A SyncML command is a protocol primitive. Each SyncML command specifies to a recipient an individual operation that is to be performed.
The SyncML_Command objects are hooked into the XML parser of the SyncML_ContentHandler class and are reponsible for parsing a single command inside the SyncBody section of a SyncML message. All actions that must be executed for a single SyncML command are handled by these objects, by means of the handleCommand() method.
$Horde: framework/SyncML/SyncML/Command.php,v 1.4.10.13 2009/04/05 20:24:42 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /SyncML/SyncML/Command.php (line 27)
Class | Description |
---|---|
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
Buffer for the parsed character data.
The command ID (<CmdID>).
Name of the command, like 'Put'.
Must be overwritten by a sub class.
A SyncML_XMLOutput instance responsible for generating the output.
Stack for holding the XML elements during creation of the object from the XML event flow.
Constructor.
Character data handler for the XML parser, delegated from SyncML_ContentHandler::characters().
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
Attempts to return a concrete SyncML_Command instance based on $command.
Returns the command name this instance is reponsible for.
This method is supposed to implement the actual business logic of the command once the XML parsing is complete.
Start element handler for the XML parser, delegated from SyncML_ContentHandler::startElement().
Documentation generated on Sun, 30 Jan 2011 05:15:54 +0000 by phpDocumentor 1.4.3