public function CourseObject::isActive in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::isActive()
- 7 includes/CourseObject.inc \CourseObject::isActive()
File
- includes/
course_object.core.inc, line 203
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
public function isActive() {
return $this
->getCourse()
->current()
->getId() == $this
->getId();
}