You are here

function CourseObjectQuiz::getTakeUrl in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::getTakeUrl()
  2. 7 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::getTakeUrl()

The take URL of the quiz is /take.

Overrides CourseObjectNode::getTakeUrl

File

modules/course_quiz/course_quiz.classes.inc, line 28

Class

CourseObjectQuiz

Code

function getTakeUrl() {
  return url("node/{$this->node->nid}/take");
}