You are here

public function CourseObjectCertificate::getTakeType in Course 7.2

Same name and namespace in other branches
  1. 6 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 32

Class

CourseObjectCertificate

Code

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