You are here

final public function CourseHandler::addOptions in Course 7

Same name and namespace in other branches
  1. 6 includes/course.core.inc \CourseHandler::addOptions()
  2. 7.2 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/CourseHandler.inc, line 111

Class

CourseHandler
Master class for anything Course related.

Code

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