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