<?php
/*
** Copyright (C) 2021-2026 initMAX s.r.o.
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/


namespace Modules\uxMAX\Actions;

use CControllerLatestView;
use Modules\uxMAX\Includes\LatestDataQuery;
use Modules\uxMAX\Module;

/**
 * Extends Zabbix's own latest.view controller. With the uxMAX preference
 * "latestshowdisabled" on, the item query is widened to include disabled
 * items; otherwise behaviour is identical to the stock controller.
 *
 * The query itself lives in LatestDataQuery, shared with LatestViewRefresh -
 * they used to be two copies of the same 90 lines, and a copy is where 6.0 and
 * 7.4 quietly start answering different questions.
 */
class LatestView extends CControllerLatestView {

    use LatestDataQuery;

    public Module $module;
}
