PHP Class Horde_SyncMl_Command_Alert, horde

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. Copyright 2003-2016 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.
Author: Anthony Mills ([email protected])
Author: Karsten Fourmont ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_SyncMl_Command
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_alert integer The alert type. Should be one of the Horde_SyncMl::ALERT_* constants.
$_cmdName string Name of the command.
$_metaAnchorLast integer The last time when synchronization happened, from the element.
$_metaAnchorNext string The current time this synchronization happens, from the element.
$_sourceLocURI string Source database of the Alert command.
$_targetLocURI string Target database of the Alert command.

Public Methods

Method Description
endElement ( string $uri, string $element ) End element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::endElement().
handleCommand ( $debug = false ) Implements the actual business logic of the Alert command.

Method Details

endElement() public method

End element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::endElement().
public endElement ( string $uri, string $element )
$uri string The namespace URI of the element.
$element string The element tag name.

handleCommand() public method

Implements the actual business logic of the Alert command.
public handleCommand ( $debug = false )

Property Details

$_alert protected_oe property

The alert type. Should be one of the Horde_SyncMl::ALERT_* constants.
protected int $_alert
return integer

$_cmdName protected_oe property

Name of the command.
protected string $_cmdName
return string

$_metaAnchorLast protected_oe property

The last time when synchronization happened, from the element.
protected int $_metaAnchorLast
return integer

$_metaAnchorNext protected_oe property

The current time this synchronization happens, from the element.
protected string $_metaAnchorNext
return string

$_sourceLocURI protected_oe property

Source database of the Alert command.
protected string $_sourceLocURI
return string

$_targetLocURI protected_oe property

Target database of the Alert command.
protected string $_targetLocURI
return string