lib/SummaryUIProcessor.php
/**
     * Returns a flattened array containing only the values for the
     * <code>bucketBy</code> field. Used by the UI for grouping itemized counts.
     * @param String bucketBy The field name to bucket data by.
     * @param Array data The report data.
     * @return Array of values for the field bucketBy
     */
Returns a flattened array containing only the values for the
bucketBy field. Used by the UI for grouping itemized counts.
@param String bucketBy The field name to bucket data by.
@param Array data The report data.
@return Array of values for the field bucketBy
Returns a flattened array containing only the values for the bucketBy field . Used by the UI for grouping itemized counts . @param String bucketBy The field name to bucket data by . @param Array data The report data . @return Array of values for the field bucketBy
private function mapBucketData() {
        $bucketBy = $this->summaryConfig['bucketBy'];
        return array_map(function($record) use ($bucketBy) {
            return $record[$bucketBy];
        }, $this->report);
    }
private function mapBucketData ( ) { $ bucketBy = $ this -> summaryConfig [ 'bucketBy' ] ; return array_map ( function ( $ record ) use ( $ bucketBy ) { return $ record [ $ bucketBy ] ; } , $ this -> report ) ; }
Returns a flattened array containing only the values for the
 <code>bucketBy</code> field.
Returns a flattened array containing only the values for the <code > bucketBy< / code > field .