public static function save_attempt_parameters() {
        return new external_function_parameters (
            array(
                'attemptid' => new external_value(PARAM_INT, 'attempt id'),
                'data' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'name' => new external_value(PARAM_RAW, 'data name'),
                            'value' => new external_value(PARAM_RAW, 'data value'),
                        )
                    ), 'the data to be saved'
                ),
                'preflightdata' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'name' => new external_value(PARAM_ALPHANUMEXT, 'data name'),
                            'value' => new external_value(PARAM_RAW, 'data value'),
                        )
                    ), 'Preflight required data (like passwords)', VALUE_DEFAULT, array()
                )
            )
        );
    }
public static function save_attempt_parameters() {
        return new external_function_parameters (
            array(
                'attemptid' => new external_value(PARAM_INT, 'attempt id'),
                'data' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'name' => new external_value(PARAM_RAW, 'data name'),
                            'value' => new external_value(PARAM_RAW, 'data value'),
                        )
                    ), 'the data to be saved'
                ),
                'preflightdata' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'name' => new external_value(PARAM_ALPHANUMEXT, 'data name'),
                            'value' => new external_value(PARAM_RAW, 'data value'),
                        )
                    ), 'Preflight required data (like passwords)', VALUE_DEFAULT, array()
                )
            )
        );
    }
public static function save_attempt_parameters ( ) { return new external_function_parameters ( array ( 'attemptid' => new external_value ( PARAM_INT , 'attempt id' ) , 'data' => new external_multiple_structure ( new external_single_structure ( array ( 'name' => new external_value ( PARAM_RAW , 'data name' ) , 'value' => new external_value ( PARAM_RAW , 'data value' ) , ) ) , 'the data to be saved' ) , 'preflightdata' => new external_multiple_structure ( new external_single_structure ( array ( 'name' => new external_value ( PARAM_ALPHANUMEXT , 'data name' ) , 'value' => new external_value ( PARAM_RAW , 'data value' ) , ) ) , 'Preflight required data (like passwords)' , VALUE_DEFAULT , array ( ) ) ) ) ; }
Describes the parameters for save_attempt.

@return external_function_parameters
@since Moodle 3.1
Describes the parameters for save_attempt .