You are here

final public function CourseHandler::setOptions in Course 7.2

Same name and namespace in other branches
  1. 6 includes/course.core.inc \CourseHandler::setOptions()
  2. 7 includes/CourseHandler.inc \CourseHandler::setOptions()

Set this entire handler's options.

Deserialize the serialized column if necessary.

Parameters

array $options: An array of options.

Return value

CourseHandler

2 calls to CourseHandler::setOptions()
CourseHandler::addOptions in includes/CourseHandler.inc
Merge an array of options onto the existing options.
CourseObject::optionsSubmit in includes/CourseObject.inc
Save object configs to cache.

File

includes/CourseHandler.inc, line 96

Class

CourseHandler
Master class for anything Course related.

Code

public final function setOptions($options) {
  foreach ($options as $key => $option) {
    $this
      ->setOption($key, $option);
  }
}