You are here

14 calls to course_enrol() in Course 6

CourseAccessTestCase::testDurationExpiration in tests/CourseAccessTestCase.test
Test the enrollment duration. This does not test the enrollment end date being set correctly.
CourseAccessTestCase::testReleaseExpiration in tests/CourseAccessTestCase.test
Test the open/close date functionality.
CourseEnrollmentTestCase::testCourseEnrollment in tests/CourseEnrollmentTestCase.test
Test for enrollment access and timestamping.
CourseObjectAccessConditionalTestCase::testTimeAfterCompletion in tests/CourseObjectAccessConditionalTestCase.test
Test the completion based trigger for object access.
CourseObjectAccessConditionalTestCase::testTimeAfterStart in tests/CourseObjectAccessConditionalTestCase.test
Test the time based trigger for object access.
CourseObjectAccessTestCase::testCourseObjectLinearWorkflow in tests/CourseObjectAccessTestCase.test
Test sequential object access.
CourseObjectAccessTestCase::testCourseObjectOptionalWorkflow in tests/CourseObjectAccessTestCase.test
Test an outline with both required and optional objects.
CourseObjectAccessTimeTestCase::testCourseObjectDuration in tests/CourseObjectAccessTimeTestCase.test
Check that user cannot access course object outside of duration period.
CourseObjectNodeTestCase::testContentAccess in tests/CourseObjectNodeTestCase.test
Test content privacy for node based course objects.
course_add_enrollment_action in ./course.module
Action to enrol a user in current course.
course_signup_signup_enroll in modules/course_signup/course_signup.module
Helper signup course enroll criteria function for insert & update.
course_take_course in ./course.module
Take a course.
course_uc_enrol_user_in_ordered_courses in modules/course_uc/course_uc.module
Loops through items in an Ubercart order and enrols the user in courses purchased.
_course_enrollment_create in services/course_enrollment_resource.inc
Create an enrollment.