You are here

function CourseObjectAccessTiming::see in Course 6

Same name and namespace in other branches
  1. 7.2 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::see()
  2. 7 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::see()

Overrides CourseObjectAccess::see

File

plugins/course/access/timing.inc, line 48

Class

CourseObjectAccessTiming

Code

function see() {
  if (!$this
    ->isReleased() && $this
    ->getOption('release_hidden')) {
    return FALSE;
  }
  if ($this
    ->isExpired() && $this
    ->getOption('expiration_hidden')) {
    return FALSE;
  }
}