summaryrefslogtreecommitdiffstats
path: root/library/Cube/Ido/DataView/Hoststatus.php
blob: 32ee44bbd72ae320927bccc9d5c900781e5ad5f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

// Icinga Web 2 Cube Module | (c) 2021 Icinga GmbH | GPLv2

namespace Icinga\Module\Cube\Ido\DataView;

use Icinga\Data\ConnectionInterface;
use Icinga\Module\Cube\Ido\Query\HoststatusQuery;

class Hoststatus extends \Icinga\Module\Monitoring\DataView\Hoststatus
{
    public function __construct(ConnectionInterface $connection, array $columns = null)
    {
        $this->connection = $connection;
        $this->query = new HoststatusQuery($connection->getResource(), $columns);
    }
}