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