You are here

function hacked_reports_hacked_details in Hacked! 6

Same name and namespace in other branches
  1. 5 hacked.details.inc \hacked_reports_hacked_details()
  2. 6.2 hacked.details.inc \hacked_reports_hacked_details()
  3. 7.2 hacked.details.inc \hacked_reports_hacked_details()
1 string reference to 'hacked_reports_hacked_details'
hacked_menu in ./hacked.module
Implementation of hook_menu().

File

./hacked.details.inc, line 4

Code

function hacked_reports_hacked_details($project) {
  $short_name = $project['short_name'];
  $projects = hacked_calculate_project_data(array(
    $short_name => $project,
  ));

  // Sort the results:
  arsort($projects[$short_name]['hacked_results']);

  // Send the results to the theme function:
  $out = theme('hacked_detailed_report', $projects);
  return $out;
}