mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°3746 - Migrate modal to new UIBlock system
This commit is contained in:
@@ -18,6 +18,8 @@ abstract class AbstractInput extends UIBlock
|
||||
protected $sName;
|
||||
/** @var string */
|
||||
protected $sValue;
|
||||
/**@var string */
|
||||
protected $sPlaceholder;
|
||||
|
||||
public function GetName(): string
|
||||
{
|
||||
@@ -52,4 +54,25 @@ abstract class AbstractInput extends UIBlock
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function GetPlaceholder(): ?string
|
||||
{
|
||||
return $this->sPlaceholder;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sPlaceholder
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function SetPlaceholder(string $sPlaceholder)
|
||||
{
|
||||
$this->sPlaceholder = $sPlaceholder;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user