You are here

function piwik_reports_theme in Piwik Reports 6

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

Implementation of hook_theme().

File

./piwik_reports.module, line 158
Drupal Module: Piwik Reports Sponsored by IO1, http://www.io1.biz All code is released under the GNU General Public License.

Code

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