You are here

function CourseObjectAccessConditional::view in Course 7.2

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

Can the user view the object but not interact?

Parameters

type $account:

Return value

boolean

Overrides CourseObjectAccess::view

1 call to CourseObjectAccessConditional::view()
CourseObjectAccessConditional::see in plugins/course_object_access/conditional.inc
Can the user see the object in the outline?

File

plugins/course_object_access/conditional.inc, line 13

Class

CourseObjectAccessConditional

Code

function view($account) {
  return $this
    ->take($account);
}