1: <?php
2: /**
3: * The Horde_SyncMl_PropertyParameter class is used to define a single
4: * parameter of a property of a data item supported by the device.
5: *
6: * The contents of a property parameter can be defined by an enumeration of
7: * valid values (ValEnum) or by a DataType/Size combination, or not at all.
8: *
9: * Copyright 2005-2012 Horde LLC (http://www.horde.org/)
10: *
11: * See the enclosed file COPYING for license information (LGPL). If you
12: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
13: *
14: * @author Karsten Fourmont <karsten@horde.org>
15: * @author Jan Schneider <jan@horde.org>
16: * @package SyncMl
17: */
18: class Horde_SyncMl_PropertyParameter
19: {
20: /**
21: * The supported enumerated values of the content type property.
22: *
23: * The supported values stored in the keys of the hash, e.g. 'PUBLIC' and
24: * 'PIVATE' for a text/calendar 'CLASS' property.
25: *
26: * @var array
27: */
28: public $ValEnum;
29:
30: /**
31: * The datatype of the content type property, e.g. 'chr', 'int', 'bool',
32: * etc.
33: *
34: * @var string
35: */
36: public $DataType;
37:
38: /**
39: * The size of the content type property in bytes.
40: *
41: * @var integer
42: */
43: public $Size;
44:
45: /**
46: * The display name of the content type property.
47: *
48: * @var string
49: */
50: public $DisplayName;
51: }
52: