You are here

function CourseObjectAccessConditional::see in Course 6

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

Overrides CourseObjectAccess::see

File

plugins/course/access/conditional.inc, line 17

Class

CourseObjectAccessConditional

Code

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