Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 108 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 108 Revision 115
Zeile 2... Zeile 2...
2
 
2
 
3
    /**
3
    /**
4
     * @package nagios-php
4
     * @package nagios-php
5
     * @author Lars Tiefland <ltiefland@gmail.com>
5
     * @author Lars Tiefland <ltiefland@gmail.com>
6
     * @copyright 2013
6
     * @copyright 2013
7
     * @version $Rev: 108 $
7
     * @version $Rev: 115 $
Zeile 8... Zeile 8...
8
     */
8
     */
Zeile 9... Zeile 9...
9
 
9
 
10
    // $Id: hostgroup.php 108 2013-01-03 10:15:31Z lars $
10
    // $Id: hostgroup.php 115 2013-01-05 19:05:29Z lars $
11
 
11
 
12
    /**
12
    /**
13
     * hostGroup
13
     * hostGroup
14
     * 
14
     * 
15
     * @package nagios-php
15
     * @package nagios-php
16
     * @author Lars Tiefland
16
     * @author Lars Tiefland
17
     * @copyright 2013
17
     * @copyright 2013
18
     * @version $Id: hostgroup.php 108 2013-01-03 10:15:31Z lars $
18
     * @version $Id: hostgroup.php 115 2013-01-05 19:05:29Z lars $
19
     * @access public
19
     * @access public
20
     */
20
     */
Zeile 90... Zeile 90...
90
                    hostgroup_id = $hg_id
90
                    hostgroup_id = $hg_id
91
            ";
91
            ";
92
            $res = $GLOBALS["db"]->query( $sql );
92
            $res = $GLOBALS["db"]->query( $sql );
93
            while ( $row = $res->fetchRow() )
93
            while ( $row = $res->fetchRow() )
94
            {
94
            {
95
                $ret[] = new host( $row["host_object_id"] );
95
                $ret[] = new host( $row["host_object_id"], true );
96
            }
96
            }
97
            return $ret;
97
            return $ret;
98
        }
98
        }
99
    }
99
    }