mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
N°2844 - Add iUIContentBlock::HasSubBlocks() helper
This commit is contained in:
@@ -99,6 +99,14 @@ class UIContentBlock extends UIBlock implements iUIContentBlock
|
||||
return isset($this->aSubBlocks[$sId]) ? $this->aSubBlocks[$sId] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function HasSubBlocks(): bool
|
||||
{
|
||||
return !empty($this->aSubBlocks);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user