Add string subtitle to panels

This commit is contained in:
Stephen Abello
2021-02-26 10:25:28 +01:00
parent 25c840e036
commit a505902ed5
3 changed files with 31 additions and 2 deletions

View File

@@ -89,6 +89,8 @@ class Panel extends UIContentBlock
protected $sTitle;
/** @var string $sColor */
protected $sColor;
/** @var string $sSubTitle */
protected $sSubTitle;
/**
* Panel constructor.
@@ -148,6 +150,26 @@ class Panel extends UIContentBlock
return $this;
}
/**
* @return string
*/
public function GetSubTitle()
{
return $this->sSubTitle;
}
/**
* @param string $sSubTitle
*
* @return $this
*/
public function SetSubTitle(string $sSubTitle)
{
$this->sSubTitle = $sSubTitle;
return $this;
}
//----------------------
// Specific content area
//----------------------