You are here

function hook_course_report_alter in Course 6

Allow modules to alter course reports before saving.

Parameters

stdClass $entry: By reference. The object parameter from course_report_save().

stdClass $account: The fully loaded report user.

stdClass $old: The currently saved version of the user's report for a course.

See also

course_report_save()

1 invocation of hook_course_report_alter()
course_report_save in ./course.module
Inserts or updates a course report record.

File

./course.api.php, line 306
Hooks provided by Course module.

Code

function hook_course_report_alter(&$entry, $account, $old) {

  // @see course_relationships_course_report_alter()
}