N°4482 - Polishing : Export page

This commit is contained in:
acognet
2022-01-13 10:52:18 +01:00
parent ab7e73ef9b
commit ec0c98bb0f
11 changed files with 77 additions and 31 deletions

View File

@@ -25,6 +25,8 @@ class InputWithLabel extends UIBlock
protected $oInput;
/** @var bool Label before input ? */
protected $bBeforeInput;
/**@String $sDescription for tooltip*/
protected $sDescription;
/**
* @param string $sLabel
@@ -102,4 +104,29 @@ class InputWithLabel extends UIBlock
$this->sLabel = $sLabel;
return $this;
}
/**
* @return mixed
*/
public function GetDescription()
{
return $this->sDescription;
}
/**
* @param mixed $sDescription
*/
public function SetDescription($sDescription)
{
$this->sDescription = $sDescription;
return $this;
}
/**
* @return bool
*/
public function HasDescription(): bool
{
return $this->sDescription != null;
}
}