mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
For autocompletion with custom variable support, it is required to be able to filter for custom variable values if no customvariable name is known. But since the template how custom variables are joined is on a private property, this many classes are required to circumvent/adjust that.
16 lines
497 B
PHP
16 lines
497 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Businessprocess\Monitoring\DataView;
|
|
|
|
use Icinga\Data\ConnectionInterface;
|
|
use Icinga\Module\Businessprocess\Monitoring\Backend\Ido\Query\HostStatusQuery;
|
|
|
|
class HostStatus extends \Icinga\Module\Monitoring\DataView\Hoststatus
|
|
{
|
|
public function __construct(ConnectionInterface $connection, array $columns = null)
|
|
{
|
|
parent::__construct($connection, $columns);
|
|
|
|
$this->query = new HostStatusQuery($connection->getResource(), $columns);
|
|
}
|
|
}
|