TypeAssure

Introduction #

TypeAssure is a process to assure that values of columns with meta type 'number' are in fact numeric.

Example #

<?php
class MyReport extends \koolreport\KoolReport
{
    public function setup()
    {
        ...
        ->pipe(new \koolreport\processes\TypeAssure())
        ...
    }
}

Code explanation:

In the above example, we make sure all columns with meta type have numeric values in data rows.

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.