function _quiz_skip_validation in Quiz 6.4
Same name and namespace in other branches
- 8.4 quiz.admin.inc \_quiz_skip_validation()
- 7 quiz.admin.inc \_quiz_skip_validation()
- 7.4 quiz.admin.inc \_quiz_skip_validation()
Recursive helper function to set the validated property. (Taken from the skip validation module.)
Parameters
&$elements: The elements that are currently being processed.
2 calls to _quiz_skip_validation()
- quiz_browser_ahah in ./
quiz.admin.inc - AHAH handler for the question browser
- quiz_results_mr_browser_ahah in ./
quiz.admin.inc - AHAH handler for the results browser
File
- ./
quiz.admin.inc, line 2431 - Administrator interface for Quiz module.
Code
function _quiz_skip_validation(&$elements) {
$elements['#validated'] = TRUE;
foreach (element_children($elements) as $key) {
_quiz_skip_validation($elements[$key]);
}
}