function CourseObjectAccessConditional::optionsDefinition in Course 6
Same name and namespace in other branches
- 7.2 plugins/course_object_access/conditional.inc \CourseObjectAccessConditional::optionsDefinition()
- 7 plugins/course_object_access/conditional.inc \CourseObjectAccessConditional::optionsDefinition()
Handlers need to declare their defaults if they have a configuration form.
Overrides CourseHandler::optionsDefinition
File
- plugins/
course/ access/ conditional.inc, line 58
Class
Code
function optionsDefinition() {
$defaults = parent::optionsDefinition();
$defaults += array(
'conditional_type' => NULL,
'conditional_time' => NULL,
'conditional_object' => NULL,
'conditional_hidden' => NULL,
);
return $defaults;
}