Function Hook_admin_stats_subscriptions->preprocess_raw_data

Definitions

sources/hooks/modules/admin_stats/subscriptions.php

  • Preprocess raw data in the database into something we can efficiently draw graphs/conclusions from.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$start_time TIME required parameter N/A N/A Start timestamp
$end_time TIME required parameter N/A N/A End timestamp
$data_buckets array required parameter N/A N/A Map of data buckets; a map of bucket name to nested maps with the following maps in sequence: 'month', 'pivot', 'value' (then further map data) ; extended and returned by reference