Fatal error: Call to a member function publishAssetFolder() on null
[........./class/reports/koolreport/core/AssetManager.php:55]
I want to render the widget to a variable so that it can be output thru a view template that doesn't use embedded PHP in it. Perhaps I am missing something.
I am using the FatFreeFramework and trying to setup KoolReport to work. Recommendations appreciated.
This is partial code in a controller to create data into variables for the view.
require_once $apppath . "/class/reports/koolreport/autoload.php";
use \koolreport\datagrid\DataTables;
$t = DataTables::create(array(
"data"=>array(
array("name"=>"Peter","age"=>35),
array("name"=>"Karl","age"=>31),
)
))
);
Thank you.