You are here

final public function CourseHandler::setOption in Course 6

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

Set an option for this handler.

Parameters

string $option: An option key.

mixed $value: The option value.

Return value

CourseHandler

14 calls to CourseHandler::setOption()
CourseHandler::__construct in includes/course.core.inc
CourseObject::getTitle in includes/course_object.core.inc
CourseObject::save in includes/course_object.core.inc
Let objects create their instances before saving the course object.
CourseObject::setComponent in includes/course_object.core.inc
Set the object component for this course object.
CourseObject::setCourse in includes/course_object.core.inc
Set the Course for this CourseObject.

... See full list

File

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

Class

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

Code

public final function setOption($option, $value) {
  $this->config[$option] = $value;
  return $this;
}