function wordstream_kwresearch_sources in WordStream Keyword Tools 7
Same name and namespace in other branches
- 6 wordstream.module \wordstream_kwresearch_sources()
@todo Please document this function.
See also
File
- ./
wordstream.module, line 442
Code
function wordstream_kwresearch_sources() {
$sources['wordstream'] = array(
'title' => t('WordStream'),
'module' => 'wordstream',
'form_options' => 'wordstream_stats_report_form_options',
'stats_callback' => 'wordstream_kwresearch_get_keyword_stats',
'searches_ratio' => variable_get('wordstream_kwresearch_searches_ratio', 256),
// ratio = total daily searches / count from data
'stats_report_columns' => array(
'wordstream_searches' => t('WS count'),
),
'stats_report_values_callback' => 'wordstream_kwresearch_format_stats_values',
);
return $sources;
}