mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Panel: Add SetSubtitleBlock()
This commit is contained in:
@@ -191,6 +191,22 @@ class Panel extends UIContentBlock
|
||||
return $this->oSubTitleBlock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the subtitle from the $oBlock, replacing any existing content
|
||||
*
|
||||
* @see static::$oSubTitleBlock
|
||||
*
|
||||
* @param \Combodo\iTop\Application\UI\Base\iUIBlock $oBlock
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function SetSubTitleBlock(iUIBlock $oBlock)
|
||||
{
|
||||
$this->oSubTitleBlock = $oBlock;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to set the subtitle from a simple text ($sSubTitle), replacing any existing block
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user