You are here

function course_take_course_access in Course 7

Same name and namespace in other branches
  1. 6 course.module \course_take_course_access()
7 calls to course_take_course_access()
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.
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 698
course.module Core functionality for Courses.

Code

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