public function CourseObjectTest::take in Course 7.2
Same name and namespace in other branches
- 7 tests/course_test/course_test.classes.inc \CourseObjectTest::take()
Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().
Overrides CourseObject::take
File
- tests/
course_test/ course_test.classes.inc, line 12
Class
- CourseObjectTest
- Dummy example course object.
Code
public function take() {
return t('I am a test course object with the title !title', array(
'!title' => $this
->getOption('title'),
));
}