You are here

public function CourseHandler::getOptions in Course 6

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

Get an object's configuration.

This can be overridden. For example, values stored in courseobject sessions need to have priority over those in the database.

Return value

array

7 calls to CourseHandler::getOptions()
CourseHandler::getOption in includes/course.core.inc
Get an option stored in this CourseObject.
CourseHandler::save in includes/course.core.inc
CourseObject::getOptions in includes/course_object.core.inc
Get options, with session options having precedence.
CourseObjectAccessConditional::optionsForm in plugins/course/access/conditional.inc
Handlers can declare a form.
CourseObjectAccessGrade::optionsForm in plugins/course/access/grade.inc
Handlers can declare a form.

... See full list

1 method overrides CourseHandler::getOptions()
CourseObject::getOptions in includes/course_object.core.inc
Get options, with session options having precedence.

File

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

Class

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

Code

public function getOptions() {
  return array_merge($this
    ->optionsDefinition(), (array) $this->config);
}