⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
Xml
/
Wbxml
/
View File Name :
DtdManager.php
* @package Xml_Wbxml */ class Horde_Xml_Wbxml_DtdManager { /** * @var array */ protected $_strDTD = array(); /** * @var array */ protected $_strDTDURI = array(); /** */ public function __construct() { $this->registerDTD(Horde_Xml_Wbxml_Dtd::SYNCML_1_0, 'syncml:syncml1.0', new Horde_Xml_Wbxml_Dtd_SyncMl(0)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::SYNCML_1_1, 'syncml:syncml1.1', new Horde_Xml_Wbxml_Dtd_SyncMl(1)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::SYNCML_1_2, 'syncml:syncml1.2', new Horde_Xml_Wbxml_Dtd_SyncMl(2)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::METINF_1_0, 'syncml:metinf1.0', new Horde_Xml_Wbxml_Dtd_SyncMlMetInf(0)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::METINF_1_1, 'syncml:metinf1.1', new Horde_Xml_Wbxml_Dtd_SyncMlMetInf(1)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::METINF_1_2, 'syncml:metinf1.2', new Horde_Xml_Wbxml_Dtd_SyncMlMetInf(2)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::DEVINF_1_0, 'syncml:devinf1.0', new Horde_Xml_Wbxml_Dtd_SyncMlDevInf(0)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::DEVINF_1_1, 'syncml:devinf1.1', new Horde_Xml_Wbxml_Dtd_SyncMlDevInf(1)); $this->registerDTD(Horde_Xml_Wbxml_Dtd::DEVINF_1_2, 'syncml:devinf1.2', new Horde_Xml_Wbxml_Dtd_SyncMlDevInf(2)); } /** */ public function getInstance($publicIdentifier) { $publicIdentifier = Horde_String::lower($publicIdentifier); if (isset($this->_strDTD[$publicIdentifier])) { return $this->_strDTD[$publicIdentifier]; } } /** */ public function getInstanceURI($uri) { $uri = Horde_String::lower($uri); if (isset($this->_strDTDURI[$uri])) { return $this->_strDTDURI[$uri]; } } /** */ public function registerDTD($publicIdentifier, $uri, $dtd) { $dtd->setDPI($publicIdentifier); $publicIdentifier = Horde_String::lower($publicIdentifier); $this->_strDTD[$publicIdentifier] = $dtd; $this->_strDTDURI[Horde_String::lower($uri)] = $dtd; } }