function CourseObjectAccessTiming::see in Course 6
Same name and namespace in other branches
- 7.2 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::see()
- 7 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::see()
Overrides CourseObjectAccess::see
File
- plugins/
course/ access/ timing.inc, line 48
Class
Code
function see() {
if (!$this
->isReleased() && $this
->getOption('release_hidden')) {
return FALSE;
}
if ($this
->isExpired() && $this
->getOption('expiration_hidden')) {
return FALSE;
}
}