aDashboardColumns = []; $this->iRowIndex = 0; $this->iCols = 0; } /** * * @param \Combodo\iTop\Application\UI\Base\Layout\Dashboard\DashboardColumn $oDashboardColumn * * @return $this */ public function AddDashboardColumn(DashboardColumn $oDashboardColumn) { $oDashboardColumn->SetColumnIndex($this->iCols); $this->aDashboardColumns[] = $oDashboardColumn; $this->iCols++; return $this; } public function GetSubBlocks(): array { return $this->aDashboardColumns; } /** * @return int */ public function GetRowIndex(): int { return $this->iRowIndex; } /** * @param int $iRowIndex * * @return $this */ public function SetRowIndex(int $iRowIndex) { $this->iRowIndex = $iRowIndex; return $this; } }