function quiz_icon in Quiz 7.5
Same name and namespace in other branches
Helper function to facilitate icon display, like "correct" or "selected".
Parameters
string $type: The question content type machine name.
array $variables:
Return value
string An HTML string representing the themed output.
4 calls to quiz_icon()
- LongAnswerResponse::getFeedbackValues in question_types/
long_answer/ long_answer.classes.inc - Implementation of getFeedbackValues().
- MultichoiceResponse::getFeedbackValues in question_types/
multichoice/ multichoice.classes.inc - Implementation of getFeedbackValues().
- ShortAnswerResponse::getFeedbackValues in question_types/
short_answer/ short_answer.classes.inc - Implementation of getFeedbackValues().
- TrueFalseResponse::getFeedbackValues in question_types/
truefalse/ truefalse.classes.inc - Implementation of getFeedbackValues().
File
- question_types/
quiz_question/ quiz_question.module, line 989 - Quiz Question module.
Code
function quiz_icon($type, $variables = array()) {
return theme('quiz_answer_result', array(
'type' => $type,
$variables,
));
}