Class SyncML_DeviceInfo

Description

SyncML_DeviceInfo represents a device information set according to the SyncML specification.

A DeviceInfo object is created by SyncML_Command_Put from an appropriate XML message. SyncML_Command_Put directly populates the members variables.

The current implementation should handle all DevInf 1.1 DTD elements except <DSMem> entries.

$Horde: framework/SyncML/SyncML/DeviceInfo.php,v 1.2.2.13 2009/01/06 15:23:37 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/DeviceInfo.php (line 23)


	
			
Variable Summary
 array $CTCaps
 array $DataStores
 string $DevID
 string $DevTyp
 array $Exts
 string $FwV
 string $HwV
 string $Man
 string $Mod
 string $OEM
 string $SwV
 boolean $UTC
 string $VerDTD
Method Summary
 SyncML_DataStore getDataStore ( $sourceURI, string $source)
Variables
array $CTCaps (line 103)

Multidimensional array that specifies the content type capabilities of the device.

Example: array('text/x-vcard' => array('FN' => SyncML_Property))

array $DataStores = array() (line 93)

Array of SyncML_DataStore objects.

string $DevID (line 79)

The (globally unique) identifier of the source synchronization device.

string $DevTyp (line 86)

The type of the source synchronization device.

array $Exts (line 114)

The non-standard, experimental extensions supported by the device.

A hash with <XNam> elements as keys and arrays of <XVal> elements as values. Example: array('X-Foo-Bar' => array(1, 'foo'))

string $FwV (line 58)

The firmware version of the device.

string $HwV (line 72)

The hardware version of the device.

string $Man (line 37)

The name of the manufacturer of the device.

string $Mod (line 44)

The model name or model number of the device.

string $OEM (line 51)

The OEM (Original Equipment Manufacturer) of the device.

boolean $SupportLargeObjs (line 128)

Whether the device supports handling of large objects.

boolean $SupportNumberOfChanges (line 135)

Whether the device supports number of changes.

string $SwV (line 65)

The software version of the device.

boolean $UTC (line 121)

Whether the device supports UTC based time.

string $VerDTD (line 30)

The major and minor version identifier of the Device Information DTD.

Methods
getDataStore (line 145)

Returns a SyncML_DataStore object for a certain source URI.

  • return: A data store object or null if none found for the source URI.
SyncML_DataStore getDataStore ( $sourceURI, string $source)
  • string $source: URI A source URI.
  • $sourceURI

Documentation generated on Sun, 30 Jan 2011 05:16:46 +0000 by phpDocumentor 1.4.3