function CourseObjectAccessTiming::see in Course 7
Same name and namespace in other branches
- 6 plugins/course/access/timing.inc \CourseObjectAccessTiming::see()
- 7.2 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::see()
Overrides CourseObjectAccess::see
File
- plugins/
course_object_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;
}
}