You are here

public function CourseObject::getReadOnlyOption in Course 7.2

4 calls to CourseObject::getReadOnlyOption()
CourseObject::isEnabled in includes/CourseObject.inc
Check if the course object is enabled.
CourseObject::isRequired in includes/CourseObject.inc
Is this course object required for course completion?
CourseObject::isSkippable in includes/CourseObject.inc
If this course object is required, can be it skipped?
CourseObject::isVisible in includes/CourseObject.inc
If this course object is required, can be it skipped?

File

includes/CourseObject.inc, line 595

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function getReadOnlyOption($key) {
  return $this
    ->getReadOnlyOptions()[$key];
}