public function CourseObjectCertificate::getTakeType in Course 7
Same name and namespace in other branches
- 6 modules/course_certificate/course_certificate.classes.inc \CourseObjectCertificate::getTakeType()
- 7.2 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
Code
public function getTakeType() {
return 'content';
}