function _quiz_is_taking_context in Quiz 7.6
Same name and namespace in other branches
- 8.4 quiz.module \_quiz_is_taking_context()
- 6.6 quiz.module \_quiz_is_taking_context()
- 6.4 quiz.module \_quiz_is_taking_context()
- 7 quiz.module \_quiz_is_taking_context()
- 7.4 quiz.module \_quiz_is_taking_context()
Tells whether a question node is being viewed inside/outside of quiz.
Return value
Boolean.
File
- ./
quiz.module, line 3237 - quiz.module Main file for the Quiz module.
Code
function _quiz_is_taking_context() {
return arg(2) == 'take';
}