mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
36 lines
694 B
PHP
36 lines
694 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (C) 2010-2020 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
namespace Combodo\iTop\Application\UI\Base\Component\Input;
|
|
|
|
|
|
/**
|
|
* Class Input
|
|
*
|
|
* @package Combodo\iTop\Application\UI\Base\Component\Input
|
|
*/
|
|
class Input extends AbstractInput
|
|
{
|
|
// Overloaded constants
|
|
public const BLOCK_CODE = 'ibo-input';
|
|
public const DEFAULT_HTML_TEMPLATE_REL_PATH = 'base/components/input/layout';
|
|
|
|
public const INPUT_HIDDEN = 'hidden';
|
|
|
|
/** @var string */
|
|
protected $sType;
|
|
|
|
public function GetType(): string
|
|
{
|
|
return $this->sType;
|
|
}
|
|
|
|
public function SetType(string $sType): Input
|
|
{
|
|
$this->sType = $sType;
|
|
return $this;
|
|
}
|
|
} |