public function addColumn(array $data)
    {
        $columnValidation = $this->_validateColumn($data);
        if (is_string($this->_validateColumn($data))) {
            throw new CollectionException('Invalid column data. '.$columnValidation);
        }

        $this->_columns[] = $data;

        return $this;
    }
public function addColumn(array $data)
    {
        $columnValidation = $this->_validateColumn($data);
        if (is_string($this->_validateColumn($data))) {
            throw new CollectionException('Invalid column data. '.$columnValidation);
        }

        $this->_columns[] = $data;

        return $this;
    }
public function addColumn ( array $ data ) { $ columnValidation = $ this -> _validateColumn ( $ data ) ; if ( is_string ( $ this -> _validateColumn ( $ data ) ) ) { throw new CollectionException ( 'Invalid column data. ' . $ columnValidation ) ; } $ this -> _columns [ ] = $ data ; return $ this ; }
Adds column to resource table

@param array $data
@return $this
@throws CollectionException
Adds column to resource table