You are here

protected function CourseHandler::optionsDefinition in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseHandler.inc \CourseHandler::optionsDefinition()
  2. 7 includes/CourseHandler.inc \CourseHandler::optionsDefinition()

Handlers need to declare their defaults if they have a configuration form.

5 calls to CourseHandler::optionsDefinition()
CourseHandler::getOptions in includes/course.core.inc
Get an object's configuration.
CourseObject::optionsDefinition in includes/course_object.core.inc
Define configuration elements and their defaults.
CourseObjectAccessConditional::optionsDefinition in plugins/course/access/conditional.inc
Handlers need to declare their defaults if they have a configuration form.
CourseObjectAccessGrade::optionsDefinition in plugins/course/access/grade.inc
Handlers need to declare their defaults if they have a configuration form.
CourseObjectAccessTiming::optionsDefinition in plugins/course/access/timing.inc
Handlers need to declare their defaults if they have a configuration form.
4 methods override CourseHandler::optionsDefinition()
CourseObject::optionsDefinition in includes/course_object.core.inc
Define configuration elements and their defaults.
CourseObjectAccessConditional::optionsDefinition in plugins/course/access/conditional.inc
Handlers need to declare their defaults if they have a configuration form.
CourseObjectAccessGrade::optionsDefinition in plugins/course/access/grade.inc
Handlers need to declare their defaults if they have a configuration form.
CourseObjectAccessTiming::optionsDefinition in plugins/course/access/timing.inc
Handlers need to declare their defaults if they have a configuration form.

File

includes/course.core.inc, line 158
course.core.inc File for main Course class.

Class

CourseHandler
@file course.core.inc File for main Course class.

Code

protected function optionsDefinition() {
  $options = array();
  return $options;
}