function _quant_build_data_count in Quant 6
Generate chart data for an aggregate (count) data point across a time period
See also
File
- includes/
data.inc, line 112 - Functions used to convert Drupal data into chart format
Code
function _quant_build_data_count(&$quant) {
$quant->data = array();
while ($item = db_fetch_array($quant->items)) {
$quant->data[$item[$quant->count]] = $item["COUNT({$quant->count})"];
}
// Remove the database resource
unset($quant->items);
}