Function Module_admin_stats->templatify_graph

Definitions

adminzone/pages/modules/admin_stats.php

  • Make a specific graph template-ready.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$graph_name string required parameter N/A N/A The UI
$hook_ob object required parameter N/A N/A Hook object
$graph_details array required parameter N/A N/A Graph details
$graph_final_details ?array Null N/A N/A Graph data (null: look it up using $graph_name etc)
$filters array [] N/A N/A Filter settings to take precedence
$pivot ?mixed Null N/A N/A Pivot value to take precedence (null: none)
$include_form boolean True N/A N/A Whether to include a form
$for_kpi boolean False N/A N/A Whether this is for setting up a KPI

Return

  • The UI
  • Type: array
  • Set: N/A
  • Range: N/A