ApcCache

Usage #

This will use the well-known cache system Apc. You need to install the Apc php module if you want to use this cache method. Click here to know how to install Apc

To use ApcCache, you do:

<?php

class MyReport extends \koolreport\KoolReport
{
    use \koolreport\cache\ApcCache;

    function cacheSettings()
    {
        return array(
            "ttl"=>60,
        );
    }
    ...
}

The "ttl" means Time To Live which is the time cache will store the result.

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.