public function CourseObjectAccessTiming::optionsDefinition in Course 7.2
Same name and namespace in other branches
- 6 plugins/course/access/timing.inc \CourseObjectAccessTiming::optionsDefinition()
- 7 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::optionsDefinition()
Define access settings.
Overrides CourseObjectAccess::optionsDefinition
File
- plugins/
course_object_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;
}