Skip to content

Commit

Permalink
Adding method to allow printing of the enrolment key form code when u…
Browse files Browse the repository at this point in the history
…sing PayPal.

Merged from MOODLE_19_STABLE
  • Loading branch information
ikawhero committed Jan 7, 2008
1 parent 19f2318 commit 6b34dd5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions enrol/paypal/enrol.php
Expand Up @@ -209,6 +209,16 @@ function check_entry($form, $course) {
}
}

/**
* Provides method to print the enrolment key form code. This method is called
* from /enrol/manual/enrol.html if it's included
* @param object a valid course object
*/
function print_enrolmentkeyfrom($course) {
$manual = enrolment_factory::factory('manual');
$manual->print_enrolmentkeyfrom($course);
}

} // end of class definition

?>

0 comments on commit 6b34dd5

Please sign in to comment.