You are here

function quiz_take in Quiz 7

Same name and namespace in other branches
  1. 6.4 quiz.module \quiz_take()
  2. 7.4 quiz.module \quiz_take()

Primary quiz-taking view on 'Take' tab.

1 string reference to 'quiz_take'
quiz_menu in ./quiz.module
Implements hook_menu().

File

./quiz.module, line 973
Quiz Module

Code

function quiz_take($node) {

  //drupal_alter('quiz_take', $node);
  if (isset($node->rendered_content)) {
    return $node->rendered_content;
  }
  $to_be_rendered = quiz_take_quiz($node);
  return drupal_render($to_be_rendered);
}