8 calls to og_quiz_ogs_access() in OG Quiz 7
- og_quiz_access_results in ./
og_quiz.module - Custom access callback for accessing quiz results.
- og_quiz_form_quiz_results_manage_results_form_alter in ./
og_quiz.module - Implements hook_form_quiz_results_manage_results_form_alter().
- og_quiz_get_user_results in ./
og_quiz.module - Page callback for viewing user results. Filter by courses the viewer is actually a member of.
- og_quiz_node_view in ./
og_quiz.module - Implements hook_node_view().
- og_quiz_take_access in ./
og_quiz.module - Custom access callback for taking quiz.
- QuizQuestion::checkContextAccess in includes/
og_quiz_question.php - Check user permissions based on the context (inside a group or global).
- QuizQuestionResponse::quizContextAccessToScore in includes/
og_quiz_question.php - Helper function to determine if a user has access to score a quiz.
- theme_og_quiz_quiz_admin_summary in ./
og_quiz.module - Theme the result summary. This is almost a verbatim copy of theme_quiz_admin_summary(). Add OG access control.