You are here

function CourseObjectAccessConditional::see in Course 7

Same name and namespace in other branches
  1. 6 plugins/course/access/conditional.inc \CourseObjectAccessConditional::see()
  2. 7.2 plugins/course_object_access/conditional.inc \CourseObjectAccessConditional::see()

Overrides CourseObjectAccess::see

File

plugins/course_object_access/conditional.inc, line 17

Class

CourseObjectAccessConditional

Code

function see() {
  if ($this
    ->getOption('conditional_hidden')) {
    return $this
      ->view();
  }
}