You are here

function quiz_take_access in Quiz 7.5

Same name and namespace in other branches
  1. 8.4 quiz.module \quiz_take_access()
  2. 6.4 quiz.module \quiz_take_access()
  3. 7.6 quiz.module \quiz_take_access()
  4. 7 quiz.module \quiz_take_access()
  5. 7.4 quiz.module \quiz_take_access()

Does the current user have access to take the quiz?

Wrapper for quiz_access() and menu access callback.

Parameters

$node: The quiz node.

Return value

bool

1 call to quiz_take_access()
quiz_quiztake_pane_content_type_render in plugins/content_types/quiztake_pane.inc
Run-time rendering of the body of the block (content type).
1 string reference to 'quiz_take_access'
quiz_menu in ./quiz.module
Implements hook_menu().

File

./quiz.module, line 1137
quiz.module Main file for the Quiz module.

Code

function quiz_take_access($node) {
  return quiz_access('take', $node);
}