You are here

public function CourseObject::take in Course 7.2

Same name and namespace in other branches
  1. 6 includes/course_object.core.inc \CourseObject::take()
  2. 7 includes/CourseObject.inc \CourseObject::take()

Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().

1 call to CourseObject::take()
CourseObject::takeCourseObject in includes/CourseObject.inc
Take a course object.
6 methods override CourseObject::take()
CourseObjectBroken::take in includes/CourseObjectBroken.inc
Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().
CourseObjectCertificate::take in modules/course_certificate/course_certificate.classes.inc
Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().
CourseObjectManual::take in modules/course_object_manual/course_object_manual.classes.inc
Display status message as course content.
CourseObjectSignup::take in modules/course_signup/course_signup.classes.inc
Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().
CourseObjectTest::take in tests/course_test/course_test.classes.inc
Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().

... See full list

File

includes/CourseObject.inc, line 670

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function take() {
  return t('This should be overridden by the module to return course content.');
}