private function selectColumnToExclude($columnToFilter, $row)
    {
        if ($row->hasColumn($columnToFilter)) {
            return $columnToFilter;
        }

        // filter_excludelowpop=nb_visits but the column name is still Metrics::INDEX_NB_VISITS in the table
        $columnIdToName = Metrics::getMappingFromNameToId();
        if (isset($columnIdToName[$columnToFilter])) {
            $column = $columnIdToName[$columnToFilter];

            if ($row->hasColumn($column)) {
                return $column;
            }
        }

        return $columnToFilter;
    }
private function selectColumnToExclude($columnToFilter, $row)
    {
        if ($row->hasColumn($columnToFilter)) {
            return $columnToFilter;
        }

        // filter_excludelowpop=nb_visits but the column name is still Metrics::INDEX_NB_VISITS in the table
        $columnIdToName = Metrics::getMappingFromNameToId();
        if (isset($columnIdToName[$columnToFilter])) {
            $column = $columnIdToName[$columnToFilter];

            if ($row->hasColumn($column)) {
                return $column;
            }
        }

        return $columnToFilter;
    }
private function selectColumnToExclude ( $ columnToFilter , $ row ) { if ( $ row -> hasColumn ( $ columnToFilter ) ) { return $ columnToFilter ; } // filter_excludelowpop=nb_visits but the column name is still Metrics::INDEX_NB_VISITS in the table $ columnIdToName = Metrics :: getMappingFromNameToId ( ) ; if ( isset ( $ columnIdToName [ $ columnToFilter ] ) ) { $ column = $ columnIdToName [ $ columnToFilter ] ; if ( $ row -> hasColumn ( $ column ) ) { return $ column ; } } return $ columnToFilter ; }
Sets the column to be used for Excluding low population

@param DataTable\Row $row
@return int
Sets the column to be used for Excluding low population