You are here

function quiz_icon in Quiz 7.6

Same name and namespace in other branches
  1. 7.5 question_types/quiz_question/quiz_question.module \quiz_icon()

Helper function to faciliate icon display, like "correct" or "selected".

4 calls to quiz_icon()
LongAnswerResponse::getFeedbackValues in question_types/long_answer/long_answer.classes.inc
Implementation of getReportFormResponse
MultichoiceResponse::getFeedbackValues in question_types/multichoice/multichoice.classes.inc
Implementation of getReportFormResponse
ShortAnswerResponse::getFeedbackValues in question_types/short_answer/short_answer.classes.inc
Implementation of getReportFormResponse
TrueFalseResponse::getFeedbackValues in question_types/truefalse/truefalse.classes.inc
Implementation of getReportFormResponse

File

question_types/quiz_question/quiz_question.module, line 1044
Quiz Question module. This module provides the basic facilities for adding quiz question types to a quiz.

Code

function quiz_icon($icon) {
  return theme('quiz_answer_result', array(
    'type' => $icon,
  ));
}