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

$sortId = 64;

$sightsArray = array();

$longName = 'Urlaube';
$tool_id = \ToolsAPI::TOOL_DOZ_URLAUBE;
$toolName = 'DozUrlaube';
$toolNameBasis = 'Basis';

$sight = new SightItemTool();
$sight->name = 'Urlaube Filter';
$sight->id = 'FilterUrlaube';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->view = new \Kufer\Web\KuferTools\Dozent\Urlaube\Uebersicht\Filter\UrlaubeShowFilterView(null);
array_push($sightsArray, $sight);

$group = 'Neuer Urlaub';

$sight = new SightItemTool();
$sight->name = 'Neuer Urlaub';
$sight->id = 'UrlaubNeu';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->group = $group;
$sight->view = new \Kufer\Web\KuferTools\Dozent\Urlaube\Neu\UrlaubNeuView(null);
array_push($sightsArray, $sight);

$sight = new SightItemTool();
$sight->name = 'Urlaub erstellt E-Mail';
$sight->id = 'UrlaubEMailErstellt';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->group = $group;
$sight->nameNoData = $sight->nameFooter;
$sight->nameFooter = $sight->nameBody;
$sight->nameBody = $sight->nameHeader;
$sight->nameHeader = 'Betreff';
$sight->view = new \Kufer\Web\KuferTools\Dozent\Urlaube\NeuAbsenden\EMail\UrlaubNeuAbsendenEMailView(null);
array_push($sightsArray, $sight);

$group = 'Urlaub bearbeiten';

$sight = new SightItemTool();
$sight->name = 'Urlaub bearbeiten';
$sight->id = 'UrlaubBearbeiten';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->group = $group;
$sight->view = new \Kufer\Web\KuferTools\Dozent\Urlaube\Bearbeiten\UrlaubBearbeitenView(null);
array_push($sightsArray, $sight);

$sight = new SightItemTool();
$sight->name = 'Urlaub bearbeitet E-Mail';
$sight->id = 'UrlaubEMailBearbeitet';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->group = $group;
$sight->nameNoData = $sight->nameFooter;
$sight->nameFooter = $sight->nameBody;
$sight->nameBody = $sight->nameHeader;
$sight->nameHeader = 'Betreff';
$sight->view = new \Kufer\Web\KuferTools\Dozent\Urlaube\BearbeitenAbsenden\EMail\UrlaubBearbeitenAbsendenEMailView(null);
array_push($sightsArray, $sight);

$group = 'Urlaub löschen';

$sight = new SightItemTool();
$sight->name = 'Urlaub gelöscht E-Mail';
$sight->id = 'UrlaubEMailGeloescht';
$sight->toolid = $toolName;
$sight->toolGroup = $toolName;
$sight->group = $group;
$sight->nameNoData = $sight->nameFooter;
$sight->nameFooter = $sight->nameBody;
$sight->nameBody = $sight->nameHeader;
$sight->nameHeader = 'Betreff';
$sight->view = new \Kufer\Web\KuferTools\Dozent\Urlaube\Loeschen\EMail\UrlaubGeloeschtAbsendenEMailView(null);
array_push($sightsArray, $sight);