mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-01-11 15:18:44 +00:00
43 lines
960 B
PHP
43 lines
960 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
declare(strict_types = 1);
|
|
|
|
namespace Modules\Calendar\Theme\Backend\Components\Event;
|
|
|
|
use phpOMS\Views\View;
|
|
use phpOMS\ApplicationAbstract;
|
|
use phpOMS\Message\RequestAbstract;
|
|
use phpOMS\Message\ResponseAbstract;
|
|
|
|
class BaseView extends View
|
|
{
|
|
private $id = '';
|
|
|
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
|
{
|
|
parent::__construct($app, $request, $response);
|
|
$this->setTemplate('/Modules/Calendar/Theme/Backend/Components/Event/popup');
|
|
}
|
|
|
|
public function getId() : string
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function render(...$data) : string
|
|
{
|
|
$this->id = $data[0];
|
|
return parent::render();
|
|
}
|
|
} |