Introduction #

Sometime you may want to simplify your data flow by removing some of columns from the datapipe. You can do so with RemoveColumn process. This process will act like a filter which only let other columns except for the columns specified passing through.

Example #

use \koolreport\processes\RemoveColumn;
class MyReport extends \koolreport\KoolReport
    public function setup()
        ->pipe(new RemoveColumn(array(

Code explanation:

  1. In this example, we use RemoveColumn process with two columns name input "extraInfo" and "unwantedColumn".
  2. After data is piped though the RemoveColumn process, two columns "extraInfo" and "unwantedColumn" will be removed.

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.