validateOnParse = true; $dom->Loadxml(AlarmManagement::getMonitors()); // TODO: Warnings abfangen return $dom; } static function getAlMonObjList($id) { // parameter check if (! isset($id) || $id=="") throw new Exception("id not set"); $dom = new DOMDocument; //$dom->validateOnParse = true; $dom->Loadxml(AlarmManagement::getMonitorAlarms($id)); // TODO: Warnings abfangen return $dom; } static function confirmAlarmBalance($abm_id) { // TODO: richtigen Aufruf implementieren require_once 'AlarmManagement/AlarmManagement.php'; AlarmManagement::confirmAlarmBalance($abm_id); } /* static function getAttrDescList($classId) { $dom = new DOMDocument; $dom->Loadxml(AlarmManagement::getAttrDescList($classId)); return $dom; } static function getInstanceList($classId) { $dom = new DOMDocument; $dom->Loadxml(AlarmManagement::getInstanceList($classId)); return $dom; } static function getClassDescriptorList() { require_once 'AlarmManagement/AlarmManagement.php'; $dom = new DOMDocument; $dom->Loadxml(AlarmManagement::getMocDescList()); return $dom; } static function getClassDescriptor($id) { require_once 'AlarmManagement/AlarmManagement.php'; $dom = new DOMDocument; $dom->Loadxml(AlarmManagement::getAttrDescList($id)); return $dom; } */ }