mirror of
https://github.com/Karaka-Management/oms-Attribute.git
synced 2026-01-11 08:38:40 +00:00
66 lines
1.4 KiB
PHP
66 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.2
|
|
*
|
|
* @package Modules\Attribute
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Attribute\Theme\Backend\Components;
|
|
|
|
use Modules\Attribute\Models\AttributeValue;
|
|
use phpOMS\Localization\L11nManager;
|
|
use phpOMS\Message\RequestAbstract;
|
|
use phpOMS\Message\ResponseAbstract;
|
|
use phpOMS\Views\View;
|
|
use Web\Backend\Views\L11nView;
|
|
|
|
/**
|
|
* Component view.
|
|
*
|
|
* @package Modules\Attribute
|
|
* @license OMS License 2.0
|
|
* @link https://jingga.app
|
|
* @since 1.0.0
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class AttributeValueView extends View
|
|
{
|
|
/**
|
|
* Attributes
|
|
*
|
|
* @var \Modules\Attribute\Models\AttributeValue
|
|
* @since 1.0.0
|
|
*/
|
|
public AttributeValue $attribute;
|
|
|
|
/**
|
|
* API Uri for attribute actions
|
|
*
|
|
* @var string
|
|
* @since 1.0.0
|
|
*/
|
|
public string $path = '';
|
|
|
|
public L11nView $l11nView;
|
|
|
|
public array $l11ns = [];
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response)
|
|
{
|
|
parent::__construct($l11n, $request, $response);
|
|
$this->setTemplate('/Modules/Attribute/Theme/Backend/Components/value-view');
|
|
|
|
$this->l11nView = new L11nView($l11n, $request, $response);
|
|
}
|
|
}
|