AccumulativeColumn

Introduction #

AccumulativeColumn helps you to create a running total from a column.

Example #

<?php
use \koolreport\processes\AccumulativeColumn;
class MyReport extends \koolreport\KoolReport
{
    public function setup()
    {
        ...
        ->pipe(new AccumulativeColumn(array(
            "running_total"=>"total"
        )))
        ...
    }
}

Results: