public function CourseObjectAccessTiming::optionsDefinition in Course 6
Same name and namespace in other branches
- 7.2 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::optionsDefinition()
- 7 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::optionsDefinition()
Handlers need to declare their defaults if they have a configuration form.
Overrides CourseHandler::optionsDefinition
File
- plugins/
course/ access/ timing.inc, line 13
Class
Code
public function optionsDefinition() {
$defaults = parent::optionsDefinition();
$defaults += array(
'duration' => NULL,
'release' => NULL,
'expiration' => NULL,
'release_hidden' => NULL,
'expiration_hidden' => NULL,
);
return $defaults;
}