original_string: protected function correct_choices(array $right) {
          // Return appropriate string for single/multiple correct answer(s).
          if (count($right) == 1) {
                  return get_string('correctansweris', 'qtype_multichoice',
                          implode(', ', $right));
          } else if (count($right) > 1) {
                  return get_string('correctanswersare', 'qtype_multichoice',
                          implode(', ', $right));
          } else {
                  return "";
          }
      }
code: protected function correct_choices(array $right) {
          // Return appropriate string for single/multiple correct answer(s).
          if (count($right) == 1) {
                  return get_string('correctansweris', 'qtype_multichoice',
                          implode(', ', $right));
          } else if (count($right) > 1) {
                  return get_string('correctanswersare', 'qtype_multichoice',
                          implode(', ', $right));
          } else {
                  return "";
          }
      }
code_tokens: protected function correct_choices ( array $ right ) { // Return appropriate string for single/multiple correct answer(s). if ( count ( $ right ) == 1 ) { return get_string ( 'correctansweris' , 'qtype_multichoice' , implode ( ', ' , $ right ) ) ; } else if ( count ( $ right ) > 1 ) { return get_string ( 'correctanswersare' , 'qtype_multichoice' , implode ( ', ' , $ right ) ) ; } else { return "" ; } }
docstring: Function returns string based on number of correct answers
  @param array $right An Array of correct responses to the current question
  @return string based on number of correct responses
docstring_tokens: Function returns string based on number of correct answers