You are here

function piwik_reports_theme in Piwik Reports 7.2

Same name and namespace in other branches
  1. 8 piwik_reports.module \piwik_reports_theme()
  2. 6 piwik_reports.module \piwik_reports_theme()
  3. 7.4 piwik_reports.module \piwik_reports_theme()
  4. 7.3 piwik_reports.module \piwik_reports_theme()

Implements hook_theme().

File

./piwik_reports.module, line 159
Defines features and functions common to Piwik Reports

Code

function piwik_reports_theme() {
  return array(
    'visitors_overview' => array(
      'template' => 'visitors-overview',
      'variables' => array(
        'piwik_url' => NULL,
        'data1_url' => NULL,
        'period' => NULL,
      ),
    ),
    'visitors_settings' => array(
      'template' => 'visitors-settings',
      'variables' => array(
        'piwik_url' => NULL,
        'data1_url' => NULL,
        'data2_url' => NULL,
        'data3_url' => NULL,
        'data4_url' => NULL,
      ),
    ),
    'visitors_times' => array(
      'template' => 'visitors-times',
      'variables' => array(
        'piwik_url' => NULL,
        'data1_url' => NULL,
      ),
    ),
    'visitors_locations' => array(
      'template' => 'visitors-locations',
      'variables' => array(
        'piwik_url' => NULL,
        'data1_url' => NULL,
      ),
    ),
    'referers_evolution' => array(
      'template' => 'referers-evolution',
      'variables' => array(
        'piwik_url' => NULL,
        'data1_url' => NULL,
      ),
    ),
    'referers_search' => array(
      'template' => 'referers-search',
      'variables' => array(
        'piwik_url' => NULL,
        'data1_url' => NULL,
      ),
    ),
  );
}