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