function quiz_take_access in Quiz 7.5
Same name and namespace in other branches
- 8.4 quiz.module \quiz_take_access()
- 6.4 quiz.module \quiz_take_access()
- 7.6 quiz.module \quiz_take_access()
- 7 quiz.module \quiz_take_access()
- 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);
}