~ubuntu-branches/ubuntu/saucy/horde3/saucy

« back to all changes in this revision

Viewing changes to lib/XML/WBXML/DTD/SyncMLDevInf.php

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-05-04 23:08:08 UTC
  • Revision ID: james.westby@ubuntu.com-20050504230808-p4hf3hk28o3v7wir
Tags: upstream-3.0.4
ImportĀ upstreamĀ versionĀ 3.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
include_once 'XML/WBXML/DTD.php';
 
4
 
 
5
/**
 
6
 * $Horde: framework/XML_WBXML/WBXML/DTD/SyncMLDevInf.php,v 1.4.12.1 2005/01/03 12:19:22 jan Exp $
 
7
 *
 
8
 * Copyright 2003-2005 Anthony Mills <amills@pyramid6.com>
 
9
 *
 
10
 * From Binary XML Content Format Specification Version 1.3, 25 July 2001
 
11
 * found at http://www.wapforum.org
 
12
 *
 
13
 * See the enclosed file COPYING for license information (LGPL).  If you
 
14
 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
 
15
 *
 
16
 * @package XML_WBXML
 
17
 */
 
18
class XML_WBXML_DTD_SyncMLDevInf extends XML_WBXML_DTD {
 
19
 
 
20
    function init()
 
21
    {
 
22
        $this->setTag(5, 'CTCap');                   // 0x05
 
23
        $this->setTag(6, 'CTType');                  // 0x06
 
24
        $this->setTag(7, 'DataStore');               // 0x07
 
25
        $this->setTag(8, 'DataType');                // 0x08
 
26
        $this->setTag(9, 'DevID');                   // 0x09
 
27
        $this->setTag(10, 'DevInf');                 // 0x0A
 
28
        $this->setTag(11, 'DevTyp');                 // 0x0B
 
29
        $this->setTag(12, 'DisplayName');            // 0x0C
 
30
        $this->setTag(13, 'DSMem');                  // 0x0D
 
31
        $this->setTag(14, 'Ext');                    // 0x0E
 
32
        $this->setTag(15, 'FwV');                    // 0x0F
 
33
        $this->setTag(16, 'HwV');                    // 0x10
 
34
        $this->setTag(17, 'Man');                    // 0x11
 
35
        $this->setTag(18, 'MaxGUIDSize');            // 0x12
 
36
        $this->setTag(19, 'MaxID');                  // 0x13
 
37
        $this->setTag(20, 'MaxMem');                 // 0x14
 
38
        $this->setTag(21, 'Mod');                    // 0x15
 
39
        $this->setTag(22, 'OEM');                    // 0x15
 
40
        $this->setTag(23, 'ParamName');              // 0x17
 
41
        $this->setTag(24, 'PropName');               // 0x18
 
42
        $this->setTag(25, 'Rx');                     // 0x19
 
43
        $this->setTag(26, 'Rx-Pref');                // 0x1A
 
44
        $this->setTag(27, 'SharedMem');              // 0x1B
 
45
        $this->setTag(28, 'Size');                   // 0x1C
 
46
        $this->setTag(29, 'SourceRef');              // 0x1D
 
47
        $this->setTag(30, 'SwV');                    // 0x1E
 
48
        $this->setTag(31, 'SyncCap');                // 0x1F
 
49
        $this->setTag(32, 'SyncType');               // 0x20
 
50
        $this->setTag(33, 'Tx');                     // 0x21
 
51
        $this->setTag(34, 'Tx-Pref');                // 0x22
 
52
        $this->setTag(35, 'ValEnum');                // 0x23
 
53
        $this->setTag(36, 'VerCT');                  // 0x24
 
54
        $this->setTag(37, 'VerDTD');                 // 0x25
 
55
        $this->setTag(38, 'Xnam');                   // 0x26
 
56
        $this->setTag(39, 'Xval');                   // 0x27
 
57
        $this->setTag(40, 'UTC');                    // 0x28
 
58
        $this->setTag(41, 'SupportNumberOfChanges'); // 0x29
 
59
        $this->setTag(42, 'SupportLargeObjs');       // 0x2A
 
60
 
 
61
        if ($this->version == 0) {
 
62
            $this->setCodePage(0, '-//SYNCML//DTD DevInf 1.0//EN', 'syncml:devinf');
 
63
            $this->setURI('sync:devinf');
 
64
        } else {
 
65
            $this->setCodePage(0, '-//SYNCML//DTD DevInf 1.1//EN', 'syncml:devinf1.1');
 
66
            $this->setURI('sync:devinf1.1');
 
67
        }
 
68
    }
 
69
 
 
70
}