PHP Class Horde_SyncMl_Command_Put, horde

The Put command is used to transfer data items to a recipient network device or database. The Horde_SyncMl_Command_Put class handles DevInf device information sent by the client. The data is stored in a Horde_SyncMl_DeviceInfo object which is defined in Device.php and then stored in Horde_SyncMl_Device as an attribute. Copyright 2005-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: Karsten Fourmont ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_SyncMl_Command
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_VerCT string specifies the version of a supported content type.
$_cmdName string Name of the command.
$_currentCTType string specifies the type of a supported content type.
$_currentDS Horde_SyncMl_DataStore specifies the properties of a given local datastore.
$_currentParamName string specifies supported parameters of a given content type property.
$_currentPropName string specifies a supported property of a given content type.
$_currentXNam string specifies the name of one of the DevInf extension element types.
$_devinf Horde_SyncMl_DeviceInfo specifies the type of the source synchronization device.

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.
startElement ( string $uri, string $element, array $attrs ) Start element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::startElement().

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 )

startElement() public method

Start element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::startElement().
public startElement ( string $uri, string $element, array $attrs )
$uri string The namespace URI of the element.
$element string The element tag name.
$attrs array A hash with the element's attributes.

Property Details

$_VerCT protected_oe property

specifies the version of a supported content type.
protected string $_VerCT
return string

$_cmdName protected_oe property

Name of the command.
protected string $_cmdName
return string

$_currentCTType protected_oe property

specifies the type of a supported content type.
protected string $_currentCTType
return string

$_currentDS protected_oe property

specifies the properties of a given local datastore.
protected Horde_SyncMl_DataStore $_currentDS
return Horde_SyncMl_DataStore

$_currentParamName protected_oe property

specifies supported parameters of a given content type property.
protected string $_currentParamName
return string

$_currentPropName protected_oe property

specifies a supported property of a given content type.
protected string $_currentPropName
return string

$_currentXNam protected_oe property

specifies the name of one of the DevInf extension element types.
protected string $_currentXNam
return string

$_devinf protected_oe property

specifies the type of the source synchronization device.
protected Horde_SyncMl_DeviceInfo $_devinf
return Horde_SyncMl_DeviceInfo