mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
Add string subtitle to panels
This commit is contained in:
@@ -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
|
||||
//----------------------
|
||||
|
||||
Reference in New Issue
Block a user