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