mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
27 lines
631 B
PHP
27 lines
631 B
PHP
<?php
|
|
/*
|
|
* @copyright Copyright (C) 2010-2025 Combodo SAS
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
namespace Combodo\iTop\Application\UI\Base\Component\TurboUpdate;
|
|
|
|
use Combodo\iTop\Application\UI\Base\Layout\UIContentBlock;
|
|
|
|
class TurboUpdate extends UIContentBlock
|
|
{
|
|
// Overloaded constants
|
|
public const DEFAULT_HTML_TEMPLATE_REL_PATH = 'base/components/turbo-update/layout';
|
|
private string $sTarget;
|
|
|
|
public function __construct(string $sTarget, string $sId = null)
|
|
{
|
|
parent::__construct($sId);
|
|
$this->sTarget = $sTarget;
|
|
}
|
|
|
|
public function GetTarget(): string
|
|
{
|
|
return $this->sTarget;
|
|
}
|
|
} |