Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 44 | Revision 47 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 44 Revision 45
Zeile 22... Zeile 22...
22
            $res = $GLOBALS["db"]->query($sql);
22
            $res = $GLOBALS["db"]->query($sql);
23
            $row = $res->fetchRow();
23
            $row = $res->fetchRow();
24
            //$this->host_id=$row["host_id"];
24
            //$this->host_id=$row["host_id"];
25
            foreach($row as $feld => $wert)
25
            foreach($row as $feld => $wert)
26
            {
26
            {
27
                $this->$$feld = $wert;
27
                $this->$feld = $wert;
28
            }
28
            }
29
        }
29
        }
30
        public static function getStatusList()
30
        public static function getStatusList()
31
        {
31
        {
32
            $sql = "SELECT
32
            $sql = "SELECT