You are here

public function CourseObjectCertificate::getTakeType in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_certificate/course_certificate.classes.inc \CourseObjectCertificate::getTakeType()
  2. 7 modules/course_certificate/course_certificate.classes.inc \CourseObjectCertificate::getTakeType()

How should this course object be executed?

  • iframe: display an iframe with getTakeUrl() in it
  • popup: launch getTakeUrl() in a popup
  • modal: launch getTakeUrl() in a modal
  • content: print the value from take() (or do whatever the module wants to do)

Overrides CourseObject::getTakeType

File

modules/course_certificate/course_certificate.classes.inc, line 31

Class

CourseObjectCertificate

Code

public function getTakeType() {
  return 'content';
}