lib/IgraalOSL/StatsTable/StatsTableBuilder.php
public function addIndexesAsColumn($columnName, $headerName = null, $format = null, AggregationInterface $aggregation = null, $metaData = [])
    {
        $values = [];
        foreach ($this->indexes as $index) {
            $values[$index] = $index;
        }

        $column = new StatsColumnBuilder(
            $values,
            $headerName,
            $format,
            $aggregation,
            $metaData
        );

        $columns = array_reverse($this->columns);
        $columns[$columnName] = $column;
        $this->columns = $columns;
    }
public function addIndexesAsColumn($columnName, $headerName = null, $format = null, AggregationInterface $aggregation = null, $metaData = [])
    {
        $values = [];
        foreach ($this->indexes as $index) {
            $values[$index] = $index;
        }

        $column = new StatsColumnBuilder(
            $values,
            $headerName,
            $format,
            $aggregation,
            $metaData
        );

        $columns = array_reverse($this->columns);
        $columns[$columnName] = $column;
        $this->columns = $columns;
    }
public function addIndexesAsColumn ( $ columnName , $ headerName = null , $ format = null , AggregationInterface $ aggregation = null , $ metaData = [ ] ) { $ values = [ ] ; foreach ( $ this -> indexes as $ index ) { $ values [ $ index ] = $ index ; } $ column = new StatsColumnBuilder ( $ values , $ headerName , $ format , $ aggregation , $ metaData ) ; $ columns = array_reverse ( $ this -> columns ) ; $ columns [ $ columnName ] = $ column ; $ this -> columns = $ columns ; }
Add index of data as a new column

@param $columnName
@param null $headerName
@param null $format
@param AggregationInterface $aggregation
Add index of data as a new column