You are here

function kwresearch_analyzer in Keyword Research 6

Same name and namespace in other branches
  1. 7 includes/contentanalysis.inc \kwresearch_analyzer()

Implementation of hook_analyzer() via custom define callback

1 string reference to 'kwresearch_analyzer'
kwresearch_contentanalysis_analyzers in includes/contentanalysis.inc
Implentation of hook_contentanalysis_analyzers() register contentanalysisexample with contentanalysis analyzers registry

File

includes/contentanalysis.inc, line 97
Contains Content Analysis integration functions

Code

function kwresearch_analyzer($context, $analysis, $params) {
  require_once './' . drupal_get_path('module', 'kwresearch') . "/includes/stats_report.inc";
  $form .= drupal_get_form('kwresearch_stats_report_form', $analysis, TRUE);

  //$form .= drupal_get_form('kwresearch_keyword_stats_report_page');
  $form .= '<div id="kwresearch-report"></div>';
  $analysis['content'][] = contentanalysis_format_content($form, -1);
  return $analysis;
}