public function Course::getNext in Course 6
Same name and namespace in other branches
- 7.2 includes/Course.inc \Course::getNext()
- 7 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.core.inc - Generate navigation links.
File
- includes/
course.core.inc, line 483 - course.core.inc File for main Course class.
Class
- Course
- An object that holds CourseObjects and tracker functions?
Code
public function getNext() {
if (!$this->active) {
$this
->setActive();
}
return $this->next;
}