1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
14: class Horde_Xml_Wbxml_Dtd_SyncMlDevInf extends Horde_Xml_Wbxml_Dtd
15: {
16: public function init()
17: {
18: 19: 20: 21: 22: 23:
24:
25: $this->setTag(0x05, "CTCap");
26: $this->setTag(0x06, "CTType");
27: $this->setTag(0x07, "DataStore");
28: $this->setTag(0x08, "DataType");
29: $this->setTag(0x09, "DevID");
30: $this->setTag(0x0a, "DevInf");
31: $this->setTag(0x0b, "DevTyp");
32: $this->setTag(0x0c, "DisplayName");
33: $this->setTag(0x0d, "DSMem");
34: $this->setTag(0x0e, "Ext");
35: $this->setTag(0x0f, "FwV");
36: $this->setTag(0x10, "HwV");
37: $this->setTag(0x11, "Man");
38: $this->setTag(0x12, "MaxGUIDSize");
39: $this->setTag(0x13, "MaxID");
40: $this->setTag(0x14, "MaxMem");
41: $this->setTag(0x15, "Mod");
42: $this->setTag(0x16, "OEM");
43: $this->setTag(0x17, "ParamName");
44: $this->setTag(0x18, "PropName");
45: $this->setTag(0x19, "Rx");
46: $this->setTag(0x1a, "Rx-Pref");
47: $this->setTag(0x1b, "SharedMem");
48: $this->setTag(0x1c, "Size");
49: $this->setTag(0x1d, "SourceRef");
50: $this->setTag(0x1e, "SwV");
51: $this->setTag(0x1f, "SyncCap");
52: $this->setTag(0x20, "SyncType");
53: $this->setTag(0x21, "Tx");
54: $this->setTag(0x22, "Tx-Pref");
55: $this->setTag(0x23, "ValEnum");
56: $this->setTag(0x24, "VerCT");
57: $this->setTag(0x25, "VerDTD");
58: $this->setTag(0x26, "XNam");
59: $this->setTag(0x27, "XVal");
60: $this->setTag(0x28, "UTC");
61: $this->setTag(0x29, "SupportNumberOfChanges");
62: $this->setTag(0x2a, "SupportLargeObjs");
63: $this->setTag(0x2b, "Property");
64: $this->setTag(0x2c, "PropParam");
65: $this->setTag(0x2d, "MaxOccur");
66: $this->setTag(0x2e, "NoTruncate");
67: $this->setTag(0x30, "Filter-Rx");
68: $this->setTag(0x31, "FilterCap");
69: $this->setTag(0x32, "FilterKeyword");
70: $this->setTag(0x33, "FieldLevel");
71: $this->setTag(0x34, "SupportHierarchicalSync");
72:
73: if ($this->version == 1) {
74: $this->setCodePage(0, Horde_Xml_Wbxml_Dtd::DEVINF_1_1, 'syncml:devinf1.1');
75: $this->setURI('syncml:devinf1.1');
76: } elseif ($this->version == 2) {
77: $this->setCodePage(0, Horde_Xml_Wbxml_Dtd::DEVINF_1_2, 'syncml:devinf1.2');
78: $this->setURI('syncml:devinf1.2');
79: } else {
80: $this->setCodePage(0, Horde_Xml_Wbxml_Dtd::DEVINF_1_0, 'syncml:devinf1.0');
81: $this->setURI('syncml:devinf1.0');
82: }
83: }
84: }
85: