You are here

public function CourseObjectAccessGrade::optionsDefinition in Course 7.2

Same name and namespace in other branches
  1. 6 plugins/course/access/grade.inc \CourseObjectAccessGrade::optionsDefinition()
  2. 7 plugins/course_object_access/grade.inc \CourseObjectAccessGrade::optionsDefinition()

Define access settings.

Overrides CourseObjectAccess::optionsDefinition

File

plugins/course_object_access/grade.inc, line 13

Class

CourseObjectAccessGrade

Code

public function optionsDefinition() {
  $defaults = parent::optionsDefinition();
  $defaults += array(
    'course_grade_range' => array(
      'low' => NULL,
      'high' => NULL,
    ),
    'course_grade_hidden' => NULL,
    'conditional_object' => NULL,
  );
  return $defaults;
}