mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-11 15:28:40 +00:00
50 lines
1.3 KiB
PHP
50 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Profile\Theme\Backend\Components\AccountGroupSelector;
|
|
|
|
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/Profile/Theme/Backend/Components/AccountGroupSelector/base');
|
|
|
|
$view = new View($app, $request, $response);
|
|
$view->setTemplate('/Modules/Profile/Theme/Backend/Components/AccountGroupSelector/popup');
|
|
|
|
$this->addData('popup', $view);
|
|
}
|
|
|
|
public function getId() : string
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function render(...$data) : string
|
|
{
|
|
$this->id = $data[0];
|
|
return parent::render();
|
|
}
|
|
} |