function CourseObjectAccessConditional::optionsDefinition in Course 7.2
Same name and namespace in other branches
- 6 plugins/course/access/conditional.inc \CourseObjectAccessConditional::optionsDefinition()
- 7 plugins/course_object_access/conditional.inc \CourseObjectAccessConditional::optionsDefinition()
Define access settings.
Overrides CourseObjectAccess::optionsDefinition
File
- plugins/
course_object_access/ conditional.inc, line 73
Class
Code
function optionsDefinition() {
$defaults = parent::optionsDefinition();
$defaults += array(
'conditional_type' => NULL,
'conditional_time' => NULL,
'conditional_object' => NULL,
'conditional_hidden' => NULL,
);
return $defaults;
}