public function setColumnNames(array $columnNames)
    {
        $this->columnNames = array();

        foreach ($columnNames as $columnName) {
            $this->addColumnName($columnName);
        }
    }
public function setColumnNames(array $columnNames)
    {
        $this->columnNames = array();

        foreach ($columnNames as $columnName) {
            $this->addColumnName($columnName);
        }
    }
public function setColumnNames ( array $ columnNames ) { $ this -> columnNames = array ( ) ; foreach ( $ columnNames as $ columnName ) { $ this -> addColumnName ( $ columnName ) ; } }
Sets the column names.

@param array $columnNames The column names.
Sets the column names .