public function setAddedColumns(array $columns)
    {
        $this->addedColumns = [];
        foreach ($columns as $column) {
            $this->addAddedColumn($column->getName(), $column);
        }
    }
public function setAddedColumns(array $columns)
    {
        $this->addedColumns = [];
        foreach ($columns as $column) {
            $this->addAddedColumn($column->getName(), $column);
        }
    }
public function setAddedColumns ( array $ columns ) { $ this -> addedColumns = [ ] ; foreach ( $ columns as $ column ) { $ this -> addAddedColumn ( $ column -> getName ( ) , $ column ) ; } }
Sets the added columns.

@param Column[] $columns
Sets the added columns .