Hi koolreport,
Actualy, I use SimpleCard with a mysql datasource like this
<?php
SimpleCard::create(array(
"title"=>"Revenue",
"value"=>$this->src("automaker")->query("select sum(amount) from payments"),
"preset"=>"success",
"format"=>array(
"value"=>array(
"prefix"=>"$"
)
),
"cssClass"=>array(
"icon"=>"fa fa-dollar",
),
));
?>
I would like to use a datastore in stead of a datasource.
Is it possible? Do you have an example?