function CourseObjectQuiz::getOptionsSummary in Course 6
Same name and namespace in other branches
- 7.2 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::getOptionsSummary()
- 7 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::getOptionsSummary()
Get core options summary.
Return value
array An associative array of summary keys and values.
Overrides CourseObject::getOptionsSummary
File
- modules/
course_quiz/ course_quiz.classes.inc, line 146
Class
Code
function getOptionsSummary() {
$summary = parent::getOptionsSummary();
if ($this
->getInstanceId()) {
$summary['questions'] = l('Edit questions', "node/{$this->getInstanceId()}/questions");
}
return $summary;
}