mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
37 lines
607 B
PHP
37 lines
607 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (C) 2010-2020 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
|
|
namespace Combodo\iTop\Application\UI\Component\Input;
|
|
|
|
|
|
class InputWithLabel extends Input
|
|
{
|
|
public const HTML_TEMPLATE_REL_PATH = 'components/input/InputWithLabel';
|
|
|
|
/** @var string */
|
|
protected $sLabel;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function GetLabel(): string
|
|
{
|
|
return $this->sLabel;
|
|
}
|
|
|
|
/**
|
|
* @param string $sLabel
|
|
*
|
|
* @return InputWithLabel
|
|
*/
|
|
public function SetLabel(string $sLabel): InputWithLabel
|
|
{
|
|
$this->sLabel = $sLabel;
|
|
return $this;
|
|
}
|
|
|
|
} |