mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°3908 - Polishing: Application Upgrade - clickable checkbox label, remove history menu, filter history with most recent first, remove unnecessary columns in history
This commit is contained in:
@@ -25,6 +25,8 @@ class Input extends AbstractInput
|
||||
protected $bIsDisabled = false;
|
||||
protected $bIsReadonly = false;
|
||||
|
||||
protected $sLabel = null;
|
||||
|
||||
/** @var string */
|
||||
protected $sType;
|
||||
|
||||
@@ -101,4 +103,29 @@ class Input extends AbstractInput
|
||||
$this->bIsReadonly = $bIsReadonly;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
*/
|
||||
public function GetLabel()
|
||||
{
|
||||
return $this->sLabel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param null $sLabel
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function SetLabel($sLabel)
|
||||
{
|
||||
$this->sLabel = $sLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function HasLabel()
|
||||
{
|
||||
return !is_null($this->sLabel);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user