function CourseObjectAccessConditional::view in Course 7.2
Same name and namespace in other branches
- 6 plugins/course/access/conditional.inc \CourseObjectAccessConditional::view()
- 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
Code
function view($account) {
return $this
->take($account);
}