mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
Note: This had to be fixed on all calls to this, hence the number of modifications.
This commit is contained in:
@@ -29,9 +29,9 @@ class FormTable extends StaticTable
|
||||
/** @var iUIBlock[] */
|
||||
private $aRows;
|
||||
|
||||
public function __construct(string $sRef, string $sContainerCSSClasses = '')
|
||||
public function __construct(string $sRef, array $aContainerCSSClasses = [])
|
||||
{
|
||||
parent::__construct($sRef, $sContainerCSSClasses);
|
||||
parent::__construct($sRef, $aContainerCSSClasses);
|
||||
$this->SetRef($sRef);
|
||||
$this->aRows = [];
|
||||
}
|
||||
|
||||
@@ -52,9 +52,9 @@ class StaticTable extends UIContentBlock
|
||||
*/
|
||||
private $aData;
|
||||
|
||||
public function __construct(string $sId = null, string $sContainerCSSClasses = '')
|
||||
public function __construct(string $sId = null, array $aContainerCSSClasses = [])
|
||||
{
|
||||
parent::__construct($sId, $sContainerCSSClasses);
|
||||
parent::__construct($sId, $aContainerCSSClasses);
|
||||
$this->aColumns = [];
|
||||
$this->aData = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user