function piwik_reports_theme in Piwik Web Analytics 6
Implementation of hook_theme().
File
- modules/
piwik_reports/ 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,
),
),
);
}