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:
Eric Espie
2021-09-16 11:14:50 +02:00
parent adc7666dd0
commit 5839bab042
4 changed files with 34 additions and 7 deletions

View File

@@ -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);
}
}