original_string: public static function get_attempt_data_returns() {
          return new external_single_structure(
              array(
                  'attempt' => self::attempt_structure(),
                  'messages' => new external_multiple_structure(
                      new external_value(PARAM_TEXT, 'access message'),
                      'access messages, will only be returned for users with mod/quiz:preview capability,
                      for other users this method will throw an exception if there are messages'),
                  'nextpage' => new external_value(PARAM_INT, 'next page number'),
                  'questions' => new external_multiple_structure(self::question_structure()),
                  'warnings' => new external_warnings(),
              )
          );
      }
code: public static function get_attempt_data_returns() {
          return new external_single_structure(
              array(
                  'attempt' => self::attempt_structure(),
                  'messages' => new external_multiple_structure(
                      new external_value(PARAM_TEXT, 'access message'),
                      'access messages, will only be returned for users with mod/quiz:preview capability,
                      for other users this method will throw an exception if there are messages'),
                  'nextpage' => new external_value(PARAM_INT, 'next page number'),
                  'questions' => new external_multiple_structure(self::question_structure()),
                  'warnings' => new external_warnings(),
              )
          );
      }
code_tokens: public static function get_attempt_data_returns ( ) { return new external_single_structure ( array ( 'attempt' => self :: attempt_structure ( ) , 'messages' => new external_multiple_structure ( new external_value ( PARAM_TEXT , 'access message' ) , 'access messages, will only be returned for users with mod/quiz:preview capability,
                      for other users this method will throw an exception if there are messages' ) , 'nextpage' => new external_value ( PARAM_INT , 'next page number' ) , 'questions' => new external_multiple_structure ( self :: question_structure ( ) ) , 'warnings' => new external_warnings ( ) , ) ) ; }
docstring: Describes the get_attempt_data return value.
  
  @return external_single_structure
  @since Moodle 3.1
docstring_tokens: Describes the get_attempt_data return value .