23 calls to course_enroll() in Course 7
- 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.
- CourseGradeTestCase::testCourseFinalGrade in tests/
CourseGradeTestCase.test - Test that the final grade is calculated correctly.
- CourseGradeTestCase::testCourseGradeAccess in tests/
CourseGradeTestCase.test - Test that the course grade access plugin functions properly.
- 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.
- CourseObjectAccessTestCase::testCourseSkippableRequiredObjectsWorkflow in tests/
CourseObjectAccessTestCase.test - Test an outline with skippable required objects.
- CourseObjectAccessTimeTestCase::testCourseObjectDuration in tests/
CourseObjectAccessTimeTestCase.test - Check that user cannot access course object outside of duration period.
- CourseObjectBookTestCase::testBookCourseObject in modules/
course_book/ course_book.test - CourseObjectBookTestCase::testBookCourseObjectContentAccess in modules/
course_book/ course_book.test - Books have special behavior when it comes to content access. All the sub pages should be protected.
- CourseObjectFulfillmentTestCase::testCourseContentObjectFulfillment in tests/
CourseObjectFulfillmentTestCase.test - Test fulfillment of CourseObjects with an enrolled/unenrolled user
- CourseObjectManualTestCase::testCourseObjectManual in modules/
course_object_manual/ course_object_manual.test - Test manual course object functionality.
- CourseObjectNodeTestCase::testContentAccess in tests/
CourseObjectNodeTestCase.test - Test content privacy for node based course objects.
- CourseObjectQuizTestCase::testQuizCourseObject in modules/
course_quiz/ course_quiz.test - CourseObjectSignupTestCase::testSignupCourseObject in modules/
course_signup/ course_signup.test - Test the fulfillment of an attendance object.
- CourseObjectWebformTestCase::testWebformCourseObject in modules/
course_webform/ course_webform.test - CourseWorkflowTestCase::testObjectAdvancement in tests/
CourseWorkflowTestCase.test - Ensure the next object is properly linked.
- course_add_enrollment_action in ./
course.module - Action to enroll a user in current course.
- course_rules_action_course_enroll in includes/
course.rules.inc - Rules action handler for enrollment.
- course_signup_signup_enroll in modules/
course_signup/ course_signup.module - Helper signup course enroll criteria function for insert & update.