mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-16 08:18:40 +00:00
php cs fixer
This commit is contained in:
parent
fb718d5f32
commit
7b1e9cef21
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
use Modules\Organization\Controller\ApiController;
|
use Modules\Organization\Controller\ApiController;
|
||||||
use Modules\Organization\Models\PermissionState;
|
use Modules\Organization\Models\PermissionState;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
use Modules\Organization\Controller\BackendController;
|
use Modules\Organization\Controller\BackendController;
|
||||||
use Modules\Organization\Models\PermissionState;
|
use Modules\Organization\Models\PermissionState;
|
||||||
|
|
|
||||||
|
|
@ -1,62 +1,62 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.2
|
* PHP Version 7.2
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
|
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
|
||||||
|
|
||||||
use phpOMS\ApplicationAbstract;
|
use phpOMS\ApplicationAbstract;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component view.
|
* Component view.
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
class DepartmentTagSelectorPopupView extends View
|
class DepartmentTagSelectorPopupView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
private $id = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector-popup');
|
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector-popup');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setId(string $id) : void
|
public function setId(string $id) : void
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : string
|
public function getId() : string
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->id = $data[0] ?? $this->id;
|
$this->id = $data[0] ?? $this->id;
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,69 +1,69 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.2
|
* PHP Version 7.2
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
|
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
|
||||||
|
|
||||||
use phpOMS\ApplicationAbstract;
|
use phpOMS\ApplicationAbstract;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component view.
|
* Component view.
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
class DepartmentTagSelectorView extends View
|
class DepartmentTagSelectorView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
private $id = '';
|
||||||
private $isRequired = false;
|
private $isRequired = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector');
|
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector');
|
||||||
|
|
||||||
$view = new DepartmentTagSelectorPopupView($app, $request, $response);
|
$view = new DepartmentTagSelectorPopupView($app, $request, $response);
|
||||||
$this->addData('department-selector-popup', $view);
|
$this->addData('department-selector-popup', $view);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : string
|
public function getId() : string
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isRequired() : bool
|
public function isRequired() : bool
|
||||||
{
|
{
|
||||||
return $this->isRequired;
|
return $this->isRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->id = $data[0];
|
$this->id = $data[0];
|
||||||
$this->isRequired = $data[1] ?? false;
|
$this->isRequired = $data[1] ?? false;
|
||||||
$this->getData('department-selector-popup')->setId($this->id);
|
$this->getData('department-selector-popup')->setId($this->id);
|
||||||
|
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,62 +1,62 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.2
|
* PHP Version 7.2
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
|
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
|
||||||
|
|
||||||
use phpOMS\ApplicationAbstract;
|
use phpOMS\ApplicationAbstract;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component view.
|
* Component view.
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
class PositionTagSelectorPopupView extends View
|
class PositionTagSelectorPopupView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
private $id = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector-popup');
|
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector-popup');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setId(string $id) : void
|
public function setId(string $id) : void
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : string
|
public function getId() : string
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->id = $data[0] ?? $this->id;
|
$this->id = $data[0] ?? $this->id;
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,69 +1,69 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.2
|
* PHP Version 7.2
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
|
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
|
||||||
|
|
||||||
use phpOMS\ApplicationAbstract;
|
use phpOMS\ApplicationAbstract;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component view.
|
* Component view.
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
class PositionTagSelectorView extends View
|
class PositionTagSelectorView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
private $id = '';
|
||||||
private $isRequired = false;
|
private $isRequired = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector');
|
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector');
|
||||||
|
|
||||||
$view = new PositionTagSelectorPopupView($app, $request, $response);
|
$view = new PositionTagSelectorPopupView($app, $request, $response);
|
||||||
$this->addData('position-selector-popup', $view);
|
$this->addData('position-selector-popup', $view);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : string
|
public function getId() : string
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isRequired() : bool
|
public function isRequired() : bool
|
||||||
{
|
{
|
||||||
return $this->isRequired;
|
return $this->isRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->id = $data[0];
|
$this->id = $data[0];
|
||||||
$this->isRequired = $data[1] ?? false;
|
$this->isRequired = $data[1] ?? false;
|
||||||
$this->getData('position-selector-popup')->setId($this->id);
|
$this->getData('position-selector-popup')->setId($this->id);
|
||||||
|
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,62 +1,62 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.2
|
* PHP Version 7.2
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
|
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
|
||||||
|
|
||||||
use phpOMS\ApplicationAbstract;
|
use phpOMS\ApplicationAbstract;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component view.
|
* Component view.
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
class UnitTagSelectorPopupView extends View
|
class UnitTagSelectorPopupView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
private $id = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector-popup');
|
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector-popup');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setId(string $id) : void
|
public function setId(string $id) : void
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : string
|
public function getId() : string
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->id = $data[0] ?? $this->id;
|
$this->id = $data[0] ?? $this->id;
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,69 +1,69 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.2
|
* PHP Version 7.2
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
|
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
|
||||||
|
|
||||||
use phpOMS\ApplicationAbstract;
|
use phpOMS\ApplicationAbstract;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component view.
|
* Component view.
|
||||||
*
|
*
|
||||||
* @package TBD
|
* @package TBD
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
class UnitTagSelectorView extends View
|
class UnitTagSelectorView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
private $id = '';
|
||||||
private $isRequired = false;
|
private $isRequired = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector');
|
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector');
|
||||||
|
|
||||||
$view = new UnitTagSelectorPopupView($app, $request, $response);
|
$view = new UnitTagSelectorPopupView($app, $request, $response);
|
||||||
$this->addData('unit-selector-popup', $view);
|
$this->addData('unit-selector-popup', $view);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : string
|
public function getId() : string
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isRequired() : bool
|
public function isRequired() : bool
|
||||||
{
|
{
|
||||||
return $this->isRequired;
|
return $this->isRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->id = $data[0];
|
$this->id = $data[0];
|
||||||
$this->isRequired = $data[1] ?? false;
|
$this->isRequired = $data[1] ?? false;
|
||||||
$this->getData('unit-selector-popup')->setId($this->id);
|
$this->getData('unit-selector-popup')->setId($this->id);
|
||||||
|
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
* @var \Mouldes\Organization\Models $department;
|
* @var \Mouldes\Organization\Models $department;
|
||||||
*/
|
*/
|
||||||
$department = $this->getData('department');
|
$department = $this->getData('department');
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
* @var \Modules\Organization\Models\Position;
|
* @var \Modules\Organization\Models\Position;
|
||||||
*/
|
*/
|
||||||
$position = $this->getData('position');
|
$position = $this->getData('position');
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php declare(strict_types=1);
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
* @var \Modules\Organization\Models\Unit $unit;
|
* @var \Modules\Organization\Models\Unit $unit;
|
||||||
*/
|
*/
|
||||||
$unit = $this->getData('unit');
|
$unit = $this->getData('unit');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user