[ Index ] |
|
Code source de Horde 3.1.3 |
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.5 2006/03/11 09:55:23 jan Exp $ 7 * 8 * Copyright 2003-2006 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 code table has been extracted from libwbxml 23 * (see http://libwbxml.aymerick.com/) by using 24 * 25 * grep '\"[^\"]*\", *0x.., 0x.. },' wbxml_tables.c 26 * | sed -e 's#^.*\"\([^\"]*\)\", *\(0x..\), \(0x..\) },.*$# \$this->setTag\(\3, \"\1\"\); // \2#g' 27 */ 28 29 $this->setTag(0x05, "CTCap"); // 0x00 30 $this->setTag(0x06, "CTType"); // 0x00 31 $this->setTag(0x07, "DataStore"); // 0x00 32 $this->setTag(0x08, "DataType"); // 0x00 33 $this->setTag(0x09, "DevID"); // 0x00 34 $this->setTag(0x0a, "DevInf"); // 0x00 35 $this->setTag(0x0b, "DevTyp"); // 0x00 36 $this->setTag(0x0c, "DisplayName"); // 0x00 37 $this->setTag(0x0d, "DSMem"); // 0x00 38 $this->setTag(0x0e, "Ext"); // 0x00 39 $this->setTag(0x0f, "FwV"); // 0x00 40 $this->setTag(0x10, "HwV"); // 0x00 41 $this->setTag(0x11, "Man"); // 0x00 42 $this->setTag(0x12, "MaxGUIDSize"); // 0x00 43 $this->setTag(0x13, "MaxID"); // 0x00 44 $this->setTag(0x14, "MaxMem"); // 0x00 45 $this->setTag(0x15, "Mod"); // 0x00 46 $this->setTag(0x16, "OEM"); // 0x00 47 $this->setTag(0x17, "ParamName"); // 0x00 48 $this->setTag(0x18, "PropName"); // 0x00 49 $this->setTag(0x19, "Rx"); // 0x00 50 $this->setTag(0x1a, "Rx-Pref"); // 0x00 51 $this->setTag(0x1b, "SharedMem"); // 0x00 52 $this->setTag(0x1c, "Size"); // 0x00 53 $this->setTag(0x1d, "SourceRef"); // 0x00 54 $this->setTag(0x1e, "SwV"); // 0x00 55 $this->setTag(0x1f, "SyncCap"); // 0x00 56 $this->setTag(0x20, "SyncType"); // 0x00 57 $this->setTag(0x21, "Tx"); // 0x00 58 $this->setTag(0x22, "Tx-Pref"); // 0x00 59 $this->setTag(0x23, "ValEnum"); // 0x00 60 $this->setTag(0x24, "VerCT"); // 0x00 61 $this->setTag(0x25, "VerDTD"); // 0x00 62 $this->setTag(0x26, "XNam"); // 0x00 63 $this->setTag(0x27, "XVal"); // 0x00 64 $this->setTag(0x28, "UTC"); // 0x00 65 $this->setTag(0x29, "SupportNumberOfChanges"); // 0x00 66 $this->setTag(0x2a, "SupportLargeObjs"); // 0x00 67 68 if ($this->version == 0) { 69 $this->setCodePage(0, '-//SYNCML//DTD DevInf 1.0//EN', 'syncml:devinf1.0'); 70 $this->setURI('syncml:devinf1.0'); 71 } else { 72 $this->setCodePage(0, '-//SYNCML//DTD DevInf 1.1//EN', 'syncml:devinf1.1'); 73 $this->setURI('syncml:devinf1.1'); 74 } 75 } 76 77 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |