<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

$sortId = 92;

$sightsArray = array();

$longName = 'Aktuelles';
$tool_id = 16;
$toolName = 'AllgNews';

$sight = new SightItemTool();
$sight->name = 'Neue News erstellen';
$sight->id = 'Newseditor';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->showNoData = false;
$sight->view = new \Kufer\KuferTools\Allgemein\Aktuelles\NeueNews\NewsEditorView(null);
array_push($sightsArray, $sight);

$sight = new SightItemTool();
$sight->name = 'Bestehende News bearbeiten';
$sight->id = 'BearbeitenEditor';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->showNoData = false;
$sight->view = new \Kufer\KuferTools\Allgemein\Aktuelles\BearbeiteNews\BearbeiteEditorView(null);
array_push($sightsArray, $sight);

$sight = new SightItemTool();
$sight->name = 'Newsübersicht Panel';
$sight->id = 'Newspanel';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->showNoData = false;
$sight->showFooter = false;
$sight->view = new \Kufer\KuferTools\Allgemein\Aktuelles\NewsUebersicht\NewsUebersichtPanelView(null);
array_push($sightsArray, $sight);

$sight = new SightItemTool();
$sight->name = 'Filter News';
$sight->id = 'FilterNews';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->showNoData = false;
$sight->view = new \Kufer\KuferTools\Allgemein\Aktuelles\ShowFilterNews\showFilterNewsView(null);
array_push($sightsArray, $sight);