src/Data/TableRowsAsRecordsDataProvider.php
public function setBaseConfig(array $config)
    {
        parent::setBaseConfig($config);

        if (!$config['group_column']) {
            throw new DcGeneralException(__CLASS__ . ' needs a grouping column.', 1);
        }
        $this->strGroupCol = $config['group_column'];

        if ($config['sort_column']) {
            $this->strSortCol = $config['sort_column'];
        }
    }
public function setBaseConfig(array $config)
    {
        parent::setBaseConfig($config);

        if (!$config['group_column']) {
            throw new DcGeneralException(__CLASS__ . ' needs a grouping column.', 1);
        }
        $this->strGroupCol = $config['group_column'];

        if ($config['sort_column']) {
            $this->strSortCol = $config['sort_column'];
        }
    }
public function setBaseConfig ( array $ config ) { parent :: setBaseConfig ( $ config ) ; if ( ! $ config [ 'group_column' ] ) { throw new DcGeneralException ( __CLASS__ . ' needs a grouping column.' , 1 ) ; } $ this -> strGroupCol = $ config [ 'group_column' ] ; if ( $ config [ 'sort_column' ] ) { $ this -> strSortCol = $ config [ 'sort_column' ] ; } }
Set base config with source and other necessary parameter.

@param array $config The configuration to use.

@return void

@throws DcGeneralException When no source has been defined.
Set base config with source and other necessary parameter .