<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Utils\StatusMessages;

class StatusMessageView extends \Kufer\Web\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'basis/statusmeldungen.sgt';
  }

  protected function getDefaultDataModulArray()
  {
    $dm = new class() extends \Datamodul {
      public $msgBoxType;
      public $message;
    };

    $dm->msgBoxType = $this->viewModel->msgBoxType;
    $dm->message = $this->viewModel->message;

    return array($dm);
  }
}