You are here

function hacked_reports_hacked_details in Hacked! 5

Same name and namespace in other branches
  1. 6.2 hacked.details.inc \hacked_reports_hacked_details()
  2. 6 hacked.details.inc \hacked_reports_hacked_details()
  3. 7.2 hacked.details.inc \hacked_reports_hacked_details()
1 call to hacked_reports_hacked_details()
_hacked_reports_hacked_details in ./hacked.module

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;
}