You are here

function course_get_context in Course 7.2

Same name and namespace in other branches
  1. 8.3 course.module \course_get_context()
  2. 8.2 course.module \course_get_context()
  3. 6 course.module \course_get_context()
  4. 7 course.module \course_get_context()
  5. 3.x course.module \course_get_context()

Gets the course context.

4 calls to course_get_context()
course_init in ./course.module
Implements hook_init().
course_preprocess_page in ./course.module
Implements hook_preprocess_page().
_course_block_navigation_view in includes/course.block.inc
Course block callback: navigation view.
_course_block_outline_view in includes/course.block.inc
Course block callback: define outline view block.

File

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

Code

function course_get_context() {
  return course_set_context();
}