You are here

final public function CourseHandler::addOptions in Course 6

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

Merge an array of options onto the existing options.

Parameters

array $options:

Return value

CourseHandler Some type of CourseHandler (probably CourseObject or CourseObjectFulfillment)

File

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

Class

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

Code

public final function addOptions(array $options) {
  $this->config = $this
    ->optionsMerge($this->config, $options);
  return $this;
}