mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 04:58:46 +02:00
Add UIBlocks to twig (generic parser and node)
# Conflicts: # pages/run_query.php # test/VisualTest/Backoffice/RenderAllUiBlocks.php
This commit is contained in:
@@ -39,12 +39,12 @@ class UIContentBlock extends UIBlock implements iUIContentBlock
|
||||
* UIContentBlock constructor.
|
||||
* Generates a <div> only if $sContainerClass if not empty or block has data attributes
|
||||
*
|
||||
* @param string|null $sName
|
||||
* @param string|null $sId
|
||||
* @param string $sContainerClass
|
||||
*/
|
||||
public function __construct(string $sName = null, string $sContainerClass = '')
|
||||
public function __construct(string $sId = null, string $sContainerClass = '')
|
||||
{
|
||||
parent::__construct($sName);
|
||||
parent::__construct($sId);
|
||||
|
||||
$this->aSubBlocks = [];
|
||||
$this->aDeferredBlocks = [];
|
||||
|
||||
Reference in New Issue
Block a user