Class SyncML_SyncElement

Description

The class SyncML_Command_SyncElement stores information from the <Add>, <Delete> and <Replace> elements found inside a <Sync> command.

Instances of this class are created during the XML parsing by SyncML_Command_Sync.

$Horde: framework/SyncML/SyncML/Command/SyncElement.php,v 1.3.2.10 2009/04/05 20:24:43 jan Exp $

Copyright 2005-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/SyncElement.php (line 21)


	
			
Variable Summary
 integer $cmdID
 string $content
 string $contentType
 string $cuid
 string $elementType
 integer $responseCode
 integer $size
Method Summary
 SyncML_SyncElement SyncML_SyncElement ( &$sync, string $elementType, integer $cmdID, integer $size, SyncML_Sync $sync)
Variables
integer $cmdID (line 58)

The command ID (<CmdID>) of the sync command.

string $content = '' (line 43)

The actual data content of the sync command.

string $contentFormat (line 36)

Encoding format of the content as specified in the <Meta><Format> element, like 'b64'.

string $contentType (line 28)

The MIME content type of the sync command.

string $cuid (line 72)

The client ID for the data item processed in the sync command.

string $elementType (line 65)

Name of the sync command, like 'Add'.

integer $responseCode (line 83)

The code to be sent as status response in a <Status> element, one of the RESPONSE_* constants.

This is set in SyncML_Sync::handleClientSyncItem() when "processing" the item.

integer $size (line 51)

The size of the data item of the sync command in bytes as specified by a <Size> element.

object SyncML_Sync $sync (line 90)

The Sync object for this element is part of.

Methods
Constructor SyncML_SyncElement (line 100)

Constructor.

SyncML_SyncElement SyncML_SyncElement ( &$sync, string $elementType, integer $cmdID, integer $size, SyncML_Sync $sync)
  • SyncML_Sync $sync
  • string $elementType
  • integer $cmdID
  • integer $size
  • &$sync

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