Class SyncML_Command_Alert

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 Alert command is used for sending custom content information to the recipient. The command provides a mechanism for communicating content information, such as state information or notifications to an application on the recipient device.

$Horde: framework/SyncML/SyncML/Command/Alert.php,v 1.18.10.18 2009/12/30 01:15:22 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/Alert.php (line 28)

SyncML_Command
   |
   --SyncML_Command_Alert
Variable Summary
 integer $_alert
 string $_cmdName
Method Summary
 void endElement (string $uri, string $element)
 void handleCommand ([ $debug = false])
Variables
integer $_alert (line 42)

The alert type. Should be one of the ALERT_* constants.

string $_cmdName = 'Alert' (line 35)

Name of the command.


Redefinition of:
SyncML_Command::$_cmdName
Name of the command, like 'Put'.
integer $_metaAnchorLast (line 72)

The last time when synchronization happened, from the <Meta><Last> element.

string $_metaAnchorNext (line 64)

The current time this synchronization happens, from the <Meta><Next> element.

string $_sourceLocURI (line 49)

Source database of the Alert command.

string $_targetLocURI (line 56)

Target database of the Alert command.

Inherited Variables

Inherited from SyncML_Command

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

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 121)

Implements the actual business logic of the Alert command.

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:15:05 +0000 by phpDocumentor 1.4.3