aColumns = []; } /** * @param \Combodo\iTop\Application\UI\Layout\MultiColumn\Column\Column $oColumn * * @return $this */ public function AddColumn(Column $oColumn) { $this->aColumns[] = $oColumn; return $this; } /** * Remove the column of $iIndex index. * Note that if the column does not exists, it proceeds silently. * * @param int $iIndex * * @return $this */ public function RemoveColumn(int $iIndex) { if (isset($this->aColumns[$iIndex])) { unset($this->aColumns[$iIndex]); } return $this; } /** * @inheritDoc */ public function GetSubBlocks() { return $this->aColumns; } }