PHP Class Horde_SyncMl_SyncElement, horde

Instances of this class are created during the XML parsing by Horde_SyncMl_Command_Sync. 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])
Mostrar archivo Open project: horde/horde

Public Properties

Property Type Description
$cmdID integer The command ID () of the sync command.
$content string The actual data content of the sync command.
$contentFormat string Encoding format of the content as specified in the element, like 'b64'.
$contentType string The MIME content type of the sync command.
$cuid string The client ID for the data item processed in the sync command.
$elementType string Name of the sync command, like 'Add'.
$responseCode integer This is set in Horde_SyncMl_Sync::handleClientSyncItem() when "processing" the item.
$size integer The size of the data item of the sync command in bytes as specified by a element.
$sync The Sync object for this element is part of.

Public Methods

Method Description
__construct ( Horde_SyncMl_Sync $sync, string $elementType, integer $cmdID, integer $size ) Constructor.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_SyncMl_Sync $sync, string $elementType, integer $cmdID, integer $size )
$sync Horde_SyncMl_Sync
$elementType string
$cmdID integer
$size integer

Property Details

$cmdID public_oe property

The command ID () of the sync command.
public int $cmdID
return integer

$content public_oe property

The actual data content of the sync command.
public string $content
return string

$contentFormat public_oe property

Encoding format of the content as specified in the element, like 'b64'.
public string $contentFormat
return string

$contentType public_oe property

The MIME content type of the sync command.
public string $contentType
return string

$cuid public_oe property

The client ID for the data item processed in the sync command.
public string $cuid
return string

$elementType public_oe property

Name of the sync command, like 'Add'.
public string $elementType
return string

$responseCode public_oe property

This is set in Horde_SyncMl_Sync::handleClientSyncItem() when "processing" the item.
public int $responseCode
return integer

$size public_oe property

The size of the data item of the sync command in bytes as specified by a element.
public int $size
return integer

$sync public_oe property

The Sync object for this element is part of.
public $sync