Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding method to allow printing of the enrolment key form code when u…

…sing PayPal.
  • Loading branch information...
commit f1d52ce1aadd8fd73ac8efd696b2e60dcb2aa712 1 parent 9dc8c1b
ikawhero authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 enrol/paypal/enrol.php
View
11 enrol/paypal/enrol.php
@@ -209,6 +209,17 @@ 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
?>
Please sign in to comment.
Something went wrong with that request. Please try again.