function CourseObjectAccessConditional::see in Course 7.2
Same name and namespace in other branches
- 6 plugins/course/access/conditional.inc \CourseObjectAccessConditional::see()
- 7 plugins/course_object_access/conditional.inc \CourseObjectAccessConditional::see()
Can the user see the object in the outline?
Parameters
type $account:
Return value
boolean
Overrides CourseObjectAccess::see
File
- plugins/
course_object_access/ conditional.inc, line 17
Class
Code
function see($account) {
if ($this
->getOption('conditional_hidden')) {
return $this
->view($account);
}
}