Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | Static Protected Member Functions | List of all members
mod_quiz_external Class Reference
Inheritance diagram for mod_quiz_external:
external_api

Static Public Member Functions

static call_external_function ($function, $args, $ajaxonly=false)
 Call an external function validating all params/returns correctly. More...
 
static clean_returnvalue (external_description $description, $response)
 Clean response If a response attribute is unknown from the description, we just ignore the attribute. More...
 
static external_function_info ($function, $strictness=MUST_EXIST)
 Returns detailed function information. More...
 
static get_attempt_access_information ($quizid, $attemptid=0)
 Return access information for a given attempt in a quiz. More...
 
static get_attempt_access_information_parameters ()
 Describes the parameters for get_attempt_access_information. More...
 
static get_attempt_access_information_returns ()
 Describes the get_attempt_access_information return value. More...
 
static get_attempt_data ($attemptid, $page, $preflightdata=array())
 Returns information for the given attempt page for a quiz attempt in progress. More...
 
static get_attempt_data_parameters ()
 Describes the parameters for get_attempt_data. More...
 
static get_attempt_data_returns ()
 Describes the get_attempt_data return value. More...
 
static get_attempt_review ($attemptid, $page=-1)
 Returns review information for the given finished attempt, can be used by users or teachers. More...
 
static get_attempt_review_parameters ()
 Describes the parameters for get_attempt_review. More...
 
static get_attempt_review_returns ()
 Describes the get_attempt_review return value. More...
 
static get_attempt_summary ($attemptid, $preflightdata=array())
 Returns a summary of a quiz attempt before it is submitted. More...
 
static get_attempt_summary_parameters ()
 Describes the parameters for get_attempt_summary. More...
 
static get_attempt_summary_returns ()
 Describes the get_attempt_summary return value. More...
 
static get_combined_review_options ($quizid, $userid=0)
 Combines the review options from a number of different quiz attempts. More...
 
static get_combined_review_options_parameters ()
 Describes the parameters for get_combined_review_options. More...
 
static get_combined_review_options_returns ()
 Describes the get_combined_review_options return value. More...
 
static get_quiz_access_information ($quizid)
 Return access information for a given quiz. More...
 
static get_quiz_access_information_parameters ()
 Describes the parameters for get_quiz_access_information. More...
 
static get_quiz_access_information_returns ()
 Describes the get_quiz_access_information return value. More...
 
static get_quiz_feedback_for_grade ($quizid, $grade)
 Get the feedback text that should be show to a student who got the given grade in the given quiz. More...
 
static get_quiz_feedback_for_grade_parameters ()
 Describes the parameters for view_quiz. More...
 
static get_quiz_feedback_for_grade_returns ()
 Describes the get_quiz_feedback_for_grade return value. More...
 
static get_quiz_required_qtypes ($quizid)
 Return the potential question types that would be required for a given quiz. More...
 
static get_quiz_required_qtypes_parameters ()
 Describes the parameters for get_quiz_required_qtypes. More...
 
static get_quiz_required_qtypes_returns ()
 Describes the get_quiz_required_qtypes return value. More...
 
static get_quizzes_by_courses ($courseids=array())
 Returns a list of quizzes in a provided list of courses, if no list is provided all quizzes that the user can view will be returned. More...
 
static get_quizzes_by_courses_parameters ()
 Describes the parameters for get_quizzes_by_courses. More...
 
static get_quizzes_by_courses_returns ()
 Describes the get_quizzes_by_courses return value. More...
 
static get_user_attempts ($quizid, $userid=0, $status='finished', $includepreviews=false)
 Return a list of attempts for the given quiz and user. More...
 
static get_user_attempts_parameters ()
 Describes the parameters for get_user_attempts. More...
 
static get_user_attempts_returns ()
 Describes the get_user_attempts return value. More...
 
static get_user_best_grade ($quizid, $userid=0)
 Get the best current grade for the given user on a quiz. More...
 
static get_user_best_grade_parameters ()
 Describes the parameters for get_user_best_grade. More...
 
static get_user_best_grade_returns ()
 Describes the get_user_best_grade return value. More...
 
static process_attempt ($attemptid, $data, $finishattempt=false, $timeup=false, $preflightdata=array())
 Process responses during an attempt at a quiz and also deals with attempts finishing. More...
 
static process_attempt_parameters ()
 Describes the parameters for process_attempt. More...
 
static process_attempt_returns ()
 Describes the process_attempt return value. More...
 
static save_attempt ($attemptid, $data, $preflightdata=array())
 Processes save requests during the quiz. More...
 
static save_attempt_parameters ()
 Describes the parameters for save_attempt. More...
 
static save_attempt_returns ()
 Describes the save_attempt return value. More...
 
static set_context_restriction ($context)
 Set context restriction for all following subsequent function calls. More...
 
static set_timeout ($seconds=360)
 This method has to be called before every operation that takes a longer time to finish! More...
 
static start_attempt ($quizid, $preflightdata=array(), $forcenew=false)
 Starts a new attempt at a quiz. More...
 
static start_attempt_parameters ()
 Describes the parameters for start_attempt. More...
 
static start_attempt_returns ()
 Describes the start_attempt return value. More...
 
static validate_context ($context)
 Makes sure user may execute functions in this context. More...
 
static validate_parameters (external_description $description, $params)
 Validates submitted function parameters, if anything is incorrect invalid_parameter_exception is thrown. More...
 
static view_attempt ($attemptid, $page, $preflightdata=array())
 Trigger the attempt viewed event. More...
 
static view_attempt_parameters ()
 Describes the parameters for view_attempt. More...
 
static view_attempt_returns ()
 Describes the view_attempt return value. More...
 
static view_attempt_review ($attemptid)
 Trigger the attempt reviewed event. More...
 
static view_attempt_review_parameters ()
 Describes the parameters for view_attempt_review. More...
 
static view_attempt_review_returns ()
 Describes the view_attempt_review return value. More...
 
static view_attempt_summary ($attemptid, $preflightdata=array())
 Trigger the attempt summary viewed event. More...
 
static view_attempt_summary_parameters ()
 Describes the parameters for view_attempt_summary. More...
 
static view_attempt_summary_returns ()
 Describes the view_attempt_summary return value. More...
 
static view_quiz ($quizid)
 Trigger the course module viewed event and update the module completion status. More...
 
static view_quiz_parameters ()
 Describes the parameters for view_quiz. More...
 
static view_quiz_returns ()
 Describes the view_quiz return value. More...
 

Static Protected Member Functions

static get_context_from_params ($param)
 Get context from passed parameters. More...
 
static get_context_parameters ()
 Returns a prepared structure to use a context parameters. More...
 
static validate_attempt ($params, $checkaccessrules=true, $failifoverdue=true)
 Utility function for validating a given attempt. More...
 
static validate_attempt_review ($params)
 Validate an attempt finished for review. More...
 
static validate_quiz ($quizid)
 Utility function for validating a quiz. More...
 

Member Function Documentation

◆ call_external_function()

static external_api::call_external_function (   $function,
  $args,
  $ajaxonly = false 
)
staticinherited

Call an external function validating all params/returns correctly.

Note that an external function may modify the state of the current page, so this wrapper saves and restores tha PAGE and COURSE global variables before/after calling the external function.

Parameters
string$functionA webservice function name.
array$argsParams array (named params)
boolean$ajaxonlyIf true, an extra check will be peformed to see if ajax is required.
Return values
arraycontaining keys for error (bool), exception and data.

◆ clean_returnvalue()

static external_api::clean_returnvalue ( external_description  $description,
  $response 
)
staticinherited

Clean response If a response attribute is unknown from the description, we just ignore the attribute.

If a response attribute is incorrect, invalid_response_exception is thrown. Note: this function is similar to validate parameters, however it is distinct because parameters validation must be distinct from cleaning return values.

Parameters
external_description$descriptiondescription of the return values
mixed$responsethe actual response
Return values
mixedresponse with added defaults for optional items, invalid_response_exception thrown if any problem found
Author
2010 Jerome Mouneyrac
Since
Moodle 2.0

◆ external_function_info()

static external_api::external_function_info (   $function,
  $strictness = MUST_EXIST 
)
staticinherited

Returns detailed function information.

Parameters
string | object$functionname of external function or record from external_function
int$strictnessIGNORE_MISSING means compatible mode, false returned if record not found, debug message if more found; MUST_EXIST means throw exception if no record or multiple records found
Return values
stdClassdescription or false if not found or exception thrown
Since
Moodle 2.0

◆ get_attempt_access_information()

static mod_quiz_external::get_attempt_access_information (   $quizid,
  $attemptid = 0 
)
static

Return access information for a given attempt in a quiz.

Parameters
int$quizidquiz instance id
int$attemptidattempt id, 0 for the user last attempt if exists
Return values
arrayof warnings and the access information
Since
Moodle 3.1
Exceptions
moodle_quiz_exception

◆ get_attempt_access_information_parameters()

static mod_quiz_external::get_attempt_access_information_parameters ( )
static

Describes the parameters for get_attempt_access_information.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_attempt_access_information_returns()

static mod_quiz_external::get_attempt_access_information_returns ( )
static

Describes the get_attempt_access_information return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_attempt_data()

static mod_quiz_external::get_attempt_data (   $attemptid,
  $page,
  $preflightdata = array() 
)
static

Returns information for the given attempt page for a quiz attempt in progress.

Parameters
int$attemptidattempt id
int$pagepage number
array$preflightdatapreflight required data (like passwords)
Return values
arrayof warnings and the attempt data, next page, message and questions
Since
Moodle 3.1
Exceptions
moodle_quiz_exceptions

◆ get_attempt_data_parameters()

static mod_quiz_external::get_attempt_data_parameters ( )
static

Describes the parameters for get_attempt_data.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_attempt_data_returns()

static mod_quiz_external::get_attempt_data_returns ( )
static

Describes the get_attempt_data return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_attempt_review()

static mod_quiz_external::get_attempt_review (   $attemptid,
  $page = -1 
)
static

Returns review information for the given finished attempt, can be used by users or teachers.

Parameters
int$attemptidattempt id
int$pagepage number, empty for all the questions in all the pages
Return values
arrayof warnings and the attempt data, feedback and questions
Since
Moodle 3.1
Exceptions
moodle_exception
moodle_quiz_exception

◆ get_attempt_review_parameters()

static mod_quiz_external::get_attempt_review_parameters ( )
static

Describes the parameters for get_attempt_review.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_attempt_review_returns()

static mod_quiz_external::get_attempt_review_returns ( )
static

Describes the get_attempt_review return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_attempt_summary()

static mod_quiz_external::get_attempt_summary (   $attemptid,
  $preflightdata = array() 
)
static

Returns a summary of a quiz attempt before it is submitted.

Parameters
int$attemptidattempt id
int$preflightdatapreflight required data (like passwords)
Return values
arrayof warnings and the attempt summary data for each question
Since
Moodle 3.1

◆ get_attempt_summary_parameters()

static mod_quiz_external::get_attempt_summary_parameters ( )
static

Describes the parameters for get_attempt_summary.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_attempt_summary_returns()

static mod_quiz_external::get_attempt_summary_returns ( )
static

Describes the get_attempt_summary return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_combined_review_options()

static mod_quiz_external::get_combined_review_options (   $quizid,
  $userid = 0 
)
static

Combines the review options from a number of different quiz attempts.

Parameters
int$quizidquiz instance id
int$useriduser id (empty for current user)
Return values
arrayof warnings and the review options
Since
Moodle 3.1

◆ get_combined_review_options_parameters()

static mod_quiz_external::get_combined_review_options_parameters ( )
static

Describes the parameters for get_combined_review_options.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_combined_review_options_returns()

static mod_quiz_external::get_combined_review_options_returns ( )
static

Describes the get_combined_review_options return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_context_from_params()

static external_api::get_context_from_params (   $param)
staticprotectedinherited

Get context from passed parameters.

The passed array must either contain a contextid or a combination of context level and instance id to fetch the context. For example, the context level can be "course" and instanceid can be courseid.

See context_helper::get_all_levels() for a list of valid context levels.

Parameters
array$param
Since
Moodle 2.6
Exceptions
invalid_parameter_exception
Return values
context

◆ get_context_parameters()

static external_api::get_context_parameters ( )
staticprotectedinherited

Returns a prepared structure to use a context parameters.

Return values
external_single_structure

Reimplemented in core_competency\external, and tool_lp\external.

◆ get_quiz_access_information()

static mod_quiz_external::get_quiz_access_information (   $quizid)
static

Return access information for a given quiz.

Parameters
int$quizidquiz instance id
Return values
arrayof warnings and the access information
Since
Moodle 3.1
Exceptions
moodle_quiz_exception

◆ get_quiz_access_information_parameters()

static mod_quiz_external::get_quiz_access_information_parameters ( )
static

Describes the parameters for get_quiz_access_information.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_quiz_access_information_returns()

static mod_quiz_external::get_quiz_access_information_returns ( )
static

Describes the get_quiz_access_information return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_quiz_feedback_for_grade()

static mod_quiz_external::get_quiz_feedback_for_grade (   $quizid,
  $grade 
)
static

Get the feedback text that should be show to a student who got the given grade in the given quiz.

Parameters
int$quizidquiz instance id
float$gradethe grade to check
Return values
arrayof warnings and status result
Since
Moodle 3.1
Exceptions
moodle_exception

◆ get_quiz_feedback_for_grade_parameters()

static mod_quiz_external::get_quiz_feedback_for_grade_parameters ( )
static

Describes the parameters for view_quiz.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_quiz_feedback_for_grade_returns()

static mod_quiz_external::get_quiz_feedback_for_grade_returns ( )
static

Describes the get_quiz_feedback_for_grade return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_quiz_required_qtypes()

static mod_quiz_external::get_quiz_required_qtypes (   $quizid)
static

Return the potential question types that would be required for a given quiz.

Please note that for random question types we return the potential question types in the category choosen.

Parameters
int$quizidquiz instance id
Return values
arrayof warnings and the access information
Since
Moodle 3.1
Exceptions
moodle_quiz_exception

◆ get_quiz_required_qtypes_parameters()

static mod_quiz_external::get_quiz_required_qtypes_parameters ( )
static

Describes the parameters for get_quiz_required_qtypes.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_quiz_required_qtypes_returns()

static mod_quiz_external::get_quiz_required_qtypes_returns ( )
static

Describes the get_quiz_required_qtypes return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_quizzes_by_courses()

static mod_quiz_external::get_quizzes_by_courses (   $courseids = array())
static

Returns a list of quizzes in a provided list of courses, if no list is provided all quizzes that the user can view will be returned.

Parameters
array$courseidsArray of course ids
Return values
arrayof quizzes details
Since
Moodle 3.1

◆ get_quizzes_by_courses_parameters()

static mod_quiz_external::get_quizzes_by_courses_parameters ( )
static

Describes the parameters for get_quizzes_by_courses.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_quizzes_by_courses_returns()

static mod_quiz_external::get_quizzes_by_courses_returns ( )
static

Describes the get_quizzes_by_courses return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_user_attempts()

static mod_quiz_external::get_user_attempts (   $quizid,
  $userid = 0,
  $status = 'finished',
  $includepreviews = false 
)
static

Return a list of attempts for the given quiz and user.

Parameters
int$quizidquiz instance id
int$useriduser id
string$statusquiz status: all, finished or unfinished
bool$includepreviewswhether to include previews or not
Return values
arrayof warnings and the list of attempts
Since
Moodle 3.1
Exceptions
invalid_parameter_exception

◆ get_user_attempts_parameters()

static mod_quiz_external::get_user_attempts_parameters ( )
static

Describes the parameters for get_user_attempts.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_user_attempts_returns()

static mod_quiz_external::get_user_attempts_returns ( )
static

Describes the get_user_attempts return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ get_user_best_grade()

static mod_quiz_external::get_user_best_grade (   $quizid,
  $userid = 0 
)
static

Get the best current grade for the given user on a quiz.

Parameters
int$quizidquiz instance id
int$useriduser id
Return values
arrayof warnings and the grade information
Since
Moodle 3.1

◆ get_user_best_grade_parameters()

static mod_quiz_external::get_user_best_grade_parameters ( )
static

Describes the parameters for get_user_best_grade.

Return values
external_function_parameters
Since
Moodle 3.1

◆ get_user_best_grade_returns()

static mod_quiz_external::get_user_best_grade_returns ( )
static

Describes the get_user_best_grade return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ process_attempt()

static mod_quiz_external::process_attempt (   $attemptid,
  $data,
  $finishattempt = false,
  $timeup = false,
  $preflightdata = array() 
)
static

Process responses during an attempt at a quiz and also deals with attempts finishing.

Parameters
int$attemptidattempt id
array$datathe data to be saved
bool$finishattemptwhether to finish or not the attempt
bool$timeupwhether the WS was called by a timer when the time is up
array$preflightdatapreflight required data (like passwords)
Return values
arrayof warnings and the attempt state after the processing
Since
Moodle 3.1

◆ process_attempt_parameters()

static mod_quiz_external::process_attempt_parameters ( )
static

Describes the parameters for process_attempt.

Return values
external_function_parameters
Since
Moodle 3.1

◆ process_attempt_returns()

static mod_quiz_external::process_attempt_returns ( )
static

Describes the process_attempt return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ save_attempt()

static mod_quiz_external::save_attempt (   $attemptid,
  $data,
  $preflightdata = array() 
)
static

Processes save requests during the quiz.

This function is intended for the quiz auto-save feature.

Parameters
int$attemptidattempt id
array$datathe data to be saved
array$preflightdatapreflight required data (like passwords)
Return values
arrayof warnings and execution result
Since
Moodle 3.1

◆ save_attempt_parameters()

static mod_quiz_external::save_attempt_parameters ( )
static

Describes the parameters for save_attempt.

Return values
external_function_parameters
Since
Moodle 3.1

◆ save_attempt_returns()

static mod_quiz_external::save_attempt_returns ( )
static

Describes the save_attempt return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ set_context_restriction()

static external_api::set_context_restriction (   $context)
staticinherited

Set context restriction for all following subsequent function calls.

Parameters
stdClass$contextthe context restriction
Since
Moodle 2.0

◆ set_timeout()

static external_api::set_timeout (   $seconds = 360)
staticinherited

This method has to be called before every operation that takes a longer time to finish!

Parameters
int$secondsmax expected time the next operation needs
Since
Moodle 2.0

◆ start_attempt()

static mod_quiz_external::start_attempt (   $quizid,
  $preflightdata = array(),
  $forcenew = false 
)
static

Starts a new attempt at a quiz.

Parameters
int$quizidquiz instance id
array$preflightdatapreflight required data (like passwords)
bool$forcenewWhether to force a new attempt or not.
Return values
arrayof warnings and the attempt basic data
Since
Moodle 3.1
Exceptions
moodle_quiz_exception

◆ start_attempt_parameters()

static mod_quiz_external::start_attempt_parameters ( )
static

Describes the parameters for start_attempt.

Return values
external_function_parameters
Since
Moodle 3.1

◆ start_attempt_returns()

static mod_quiz_external::start_attempt_returns ( )
static

Describes the start_attempt return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ validate_attempt()

static mod_quiz_external::validate_attempt (   $params,
  $checkaccessrules = true,
  $failifoverdue = true 
)
staticprotected

Utility function for validating a given attempt.

Parameters
array$paramsarray of parameters including the attemptid and preflight data
bool$checkaccessruleswhether to check the quiz access rules or not
bool$failifoverduewhether to return error if the attempt is overdue
Return values
arraycontaining the attempt object and access messages
Exceptions
moodle_quiz_exception
Since
Moodle 3.1

◆ validate_attempt_review()

static mod_quiz_external::validate_attempt_review (   $params)
staticprotected

Validate an attempt finished for review.

The attempt would be reviewed by a user or a teacher.

Parameters
array$paramsArray of parameters including the attemptid
Return values
arraycontaining the attempt object and display options
Since
Moodle 3.1
Exceptions
moodle_exception
moodle_quiz_exception

◆ validate_context()

static external_api::validate_context (   $context)
staticinherited

Makes sure user may execute functions in this context.

Parameters
stdClass$context
Since
Moodle 2.0

◆ validate_parameters()

static external_api::validate_parameters ( external_description  $description,
  $params 
)
staticinherited

Validates submitted function parameters, if anything is incorrect invalid_parameter_exception is thrown.

This is a simple recursive method which is intended to be called from each implementation method of external API.

Parameters
external_description$descriptiondescription of parameters
mixed$paramsthe actual parameters
Return values
mixedparams with added defaults for optional items, invalid_parameters_exception thrown if any problem found
Since
Moodle 2.0

◆ validate_quiz()

static mod_quiz_external::validate_quiz (   $quizid)
staticprotected

Utility function for validating a quiz.

Parameters
int$quizidquiz instance id
Return values
arrayarray containing the quiz, course, context and course module objects
Since
Moodle 3.1

◆ view_attempt()

static mod_quiz_external::view_attempt (   $attemptid,
  $page,
  $preflightdata = array() 
)
static

Trigger the attempt viewed event.

Parameters
int$attemptidattempt id
int$pagepage number
array$preflightdatapreflight required data (like passwords)
Return values
arrayof warnings and status result
Since
Moodle 3.1

◆ view_attempt_parameters()

static mod_quiz_external::view_attempt_parameters ( )
static

Describes the parameters for view_attempt.

Return values
external_function_parameters
Since
Moodle 3.1

◆ view_attempt_returns()

static mod_quiz_external::view_attempt_returns ( )
static

Describes the view_attempt return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ view_attempt_review()

static mod_quiz_external::view_attempt_review (   $attemptid)
static

Trigger the attempt reviewed event.

Parameters
int$attemptidattempt id
Return values
arrayof warnings and status result
Since
Moodle 3.1

◆ view_attempt_review_parameters()

static mod_quiz_external::view_attempt_review_parameters ( )
static

Describes the parameters for view_attempt_review.

Return values
external_function_parameters
Since
Moodle 3.1

◆ view_attempt_review_returns()

static mod_quiz_external::view_attempt_review_returns ( )
static

Describes the view_attempt_review return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ view_attempt_summary()

static mod_quiz_external::view_attempt_summary (   $attemptid,
  $preflightdata = array() 
)
static

Trigger the attempt summary viewed event.

Parameters
int$attemptidattempt id
array$preflightdatapreflight required data (like passwords)
Return values
arrayof warnings and status result
Since
Moodle 3.1

◆ view_attempt_summary_parameters()

static mod_quiz_external::view_attempt_summary_parameters ( )
static

Describes the parameters for view_attempt_summary.

Return values
external_function_parameters
Since
Moodle 3.1

◆ view_attempt_summary_returns()

static mod_quiz_external::view_attempt_summary_returns ( )
static

Describes the view_attempt_summary return value.

Return values
external_single_structure
Since
Moodle 3.1

◆ view_quiz()

static mod_quiz_external::view_quiz (   $quizid)
static

Trigger the course module viewed event and update the module completion status.

Parameters
int$quizidquiz instance id
Return values
arrayof warnings and status result
Since
Moodle 3.1
Exceptions
moodle_exception

◆ view_quiz_parameters()

static mod_quiz_external::view_quiz_parameters ( )
static

Describes the parameters for view_quiz.

Return values
external_function_parameters
Since
Moodle 3.1

◆ view_quiz_returns()

static mod_quiz_external::view_quiz_returns ( )
static

Describes the view_quiz return value.

Return values
external_single_structure
Since
Moodle 3.1

The documentation for this class was generated from the following file: