AppendRow

Introduction #

AppendRow is a process to append additional rows to the end of your data pipe.

Example #

<?php
class MyReport extends \koolreport\KoolReport
{
    public function setup()
    {
        //Append one row
        ...
        ->pipe(new \koolreport\processes\(
        		array("name"=>"John")
        ))
        ...

        //or multiple rows:
        ...     
        ->pipe(new AppendRow(array(
        		array("name"=>"John"),
        		array("name"=>"Marry"),
        )))
        ...
    }
}

Code explanation:

In the above example, we append one and multiple rows to the end of data pipes.

Get started with KoolReport

KoolReport will help you to construct good php data report by gathering your data from multiple sources, transforming them into valuable insights, and finally visualizing them in stunning charts and graphs.