You are here

public function CourseObjectAccessTiming::optionsDefinition in Course 7

Same name and namespace in other branches
  1. 6 plugins/course/access/timing.inc \CourseObjectAccessTiming::optionsDefinition()
  2. 7.2 plugins/course_object_access/timing.inc \CourseObjectAccessTiming::optionsDefinition()

Overrides CourseObjectAccess::optionsDefinition

File

plugins/course_object_access/timing.inc, line 13

Class

CourseObjectAccessTiming

Code

public function optionsDefinition() {
  $defaults = parent::optionsDefinition();
  $defaults += array(
    'duration' => NULL,
    'release' => NULL,
    'expiration' => NULL,
    'release_hidden' => NULL,
    'expiration_hidden' => NULL,
  );
  return $defaults;
}