public function Course::getNext in Course 7
Same name and namespace in other branches
- 6 includes/course.core.inc \Course::getNext()
- 7.2 includes/Course.inc \Course::getNext()
Get the next course object, from the active course object.
Return value
1 call to Course::getNext()
- Course::getNavigation in includes/
Course.inc - Generate navigation links.
File
- includes/
Course.inc, line 113
Class
- Course
- An object that holds CourseObjects and tracker functions?
Code
public function getNext() {
if (!$this->active) {
$this
->setActive();
}
return $this->next;
}