Class SyncML_Command_Map

Description

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 Map command is used to update identifier maps.

$Horde: framework/SyncML/SyncML/Command/Map.php,v 1.1.10.13 2009/10/11 17:20:36 jan Exp $

Copyright 2004-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/Map.php (line 24)

SyncML_Command
   |
   --SyncML_Command_Map
Variable Summary
Method Summary
 void endElement (string $uri, string $element)
 void handleCommand ([ $debug = false])
Variables
string $_cmdName = 'Map' (line 31)

Name of the command.


Redefinition of:
SyncML_Command::$_cmdName
Name of the command, like 'Put'.
array $_mapSources = array() (line 59)

Originator map item specifiers.

array $_mapTargets = array() (line 52)

Recipient map item specifiers.

string $_sourceLocURI (line 38)

Source database of the Map command.

string $_targetLocURI (line 45)

Target database of the Map command.

Inherited Variables

Inherited from SyncML_Command

SyncML_Command::$_chars
SyncML_Command::$_cmdID
SyncML_Command::$_outputHandler
SyncML_Command::$_stack
Methods
endElement (line 68)

End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().

void endElement (string $uri, string $element)
  • string $uri: The namespace URI of the element.
  • string $element: The element tag name.

Redefinition of:
SyncML_Command::endElement()
End element handler for the XML parser, delegated from SyncML_ContentHandler::endElement().
handleCommand (line 100)

Implements the actual business logic of the Alert command.

  • todo: No OK response on error.
void handleCommand ([ $debug = false])
  • $debug

Redefinition of:
SyncML_Command::handleCommand()
This method is supposed to implement the actual business logic of the command once the XML parsing is complete.

Inherited Methods

Inherited From SyncML_Command

 SyncML_Command::SyncML_Command()
 SyncML_Command::characters()
 SyncML_Command::endElement()
 SyncML_Command::factory()
 SyncML_Command::getCommandName()
 SyncML_Command::handleCommand()
 SyncML_Command::startElement()

Documentation generated on Sun, 30 Jan 2011 05:19:30 +0000 by phpDocumentor 1.4.3