You are here

function course_enroll_access in Course 7

8 calls to course_enroll_access()
CourseAccessTestCase::testReleaseExpiration in tests/CourseAccessTestCase.test
Test the open/close date functionality.
CourseEnrollmentTestCase::testCourseEnrollment in tests/CourseEnrollmentTestCase.test
Test for enrollment access and timestamping.
CourseObjectUbercartTestCase::testDelayedPayment in modules/course_uc/course_uc.test
CourseObjectUbercartTestCase::testUbercartEnrollment in modules/course_uc/course_uc.test
course_node_view in ./course.module
Implements hook_node_view().

... See full list

File

./course.module, line 2252
course.module Core functionality for Courses.

Code

function course_enroll_access($node, $account = NULL, $flush = FALSE, $all = FALSE) {
  return course_access_course('enroll', $node, $account, $flush, $all);
}