Skip to content

Commit

Permalink
MDL-57629 webservice: Fix external functions phpdoc
Browse files Browse the repository at this point in the history
Replace external_external_function_parameters with
external_function_parameters
  • Loading branch information
jleyva committed Jan 11, 2017
1 parent 8ed0851 commit 9db43c7
Show file tree
Hide file tree
Showing 17 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion auth/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class core_auth_external extends external_api {
/**
* Describes the parameters for confirm_user.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.2
*/
public static function confirm_user_parameters() {
Expand Down
4 changes: 2 additions & 2 deletions auth/email/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected static function check_signup_enabled() {
/**
* Describes the parameters for get_signup_settings.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.2
*/
public static function get_signup_settings_parameters() {
Expand Down Expand Up @@ -179,7 +179,7 @@ public static function get_signup_settings_returns() {
/**
* Describes the parameters for signup_user.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.2
*/
public static function signup_user_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion badges/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class core_badges_external extends external_api {
/**
* Describes the parameters for get_user_badges.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.1
*/
public static function get_user_badges_parameters() {
Expand Down
4 changes: 2 additions & 2 deletions completion/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class core_completion_external extends external_api {
/**
* Describes the parameters for update_activity_completion_status_manually.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.9
*/
public static function update_activity_completion_status_manually_parameters() {
Expand Down Expand Up @@ -383,7 +383,7 @@ public static function get_course_completion_status_returns() {
/**
* Describes the parameters for mark_course_self_completed.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function mark_course_self_completed_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion course/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ public static function delete_categories_returns() {
/**
* Describes the parameters for delete_modules.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.5
*/
public static function delete_modules_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion grade/report/overview/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class gradereport_overview_external extends external_api {
/**
* Describes the parameters for get_course_grades.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.2
*/
public static function get_course_grades_parameters() {
Expand Down
4 changes: 2 additions & 2 deletions grade/report/user/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ protected static function get_report_data($course, $context, $user, $userid, $gr
/**
* Describes the parameters for get_grades_table.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.9
*/
public static function get_grades_table_parameters() {
Expand Down Expand Up @@ -424,7 +424,7 @@ public static function view_grade_report_returns() {
/**
* Describes the parameters for get_grade_items.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.2
*/
public static function get_grade_items_parameters() {
Expand Down
32 changes: 16 additions & 16 deletions mod/assign/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static function generate_warning($assignmentid, $warningcode, $detail) {

/**
* Describes the parameters for get_grades
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.4
*/
public static function get_grades_parameters() {
Expand Down Expand Up @@ -660,7 +660,7 @@ private static function get_plugins_data($assign, $assignplugins, $item) {
/**
* Describes the parameters for get_submissions
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.5
*/
public static function get_submissions_parameters() {
Expand Down Expand Up @@ -1317,7 +1317,7 @@ public static function get_user_mappings_returns() {

/**
* Describes the parameters for lock_submissions
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function lock_submissions_parameters() {
Expand Down Expand Up @@ -1374,7 +1374,7 @@ public static function lock_submissions_returns() {

/**
* Describes the parameters for revert_submissions_to_draft
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function revert_submissions_to_draft_parameters() {
Expand Down Expand Up @@ -1431,7 +1431,7 @@ public static function revert_submissions_to_draft_returns() {

/**
* Describes the parameters for unlock_submissions
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function unlock_submissions_parameters() {
Expand Down Expand Up @@ -1488,7 +1488,7 @@ public static function unlock_submissions_returns() {

/**
* Describes the parameters for submit_grading_form webservice.
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.1
*/
public static function submit_grading_form_parameters() {
Expand Down Expand Up @@ -1566,7 +1566,7 @@ public static function submit_grading_form($assignmentid, $userid, $jsonformdata

/**
* Describes the return for submit_grading_form
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.1
*/
public static function submit_grading_form_returns() {
Expand All @@ -1575,7 +1575,7 @@ public static function submit_grading_form_returns() {

/**
* Describes the parameters for submit_for_grading
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function submit_for_grading_parameters() {
Expand Down Expand Up @@ -1630,7 +1630,7 @@ public static function submit_for_grading_returns() {

/**
* Describes the parameters for save_user_extensions
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function save_user_extensions_parameters() {
Expand Down Expand Up @@ -1703,7 +1703,7 @@ public static function save_user_extensions_returns() {

/**
* Describes the parameters for reveal_identities
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function reveal_identities_parameters() {
Expand Down Expand Up @@ -1752,7 +1752,7 @@ public static function reveal_identities_returns() {

/**
* Describes the parameters for save_submission
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function save_submission_parameters() {
Expand Down Expand Up @@ -1828,7 +1828,7 @@ public static function save_submission_returns() {

/**
* Describes the parameters for save_grade
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.6
*/
public static function save_grade_parameters() {
Expand Down Expand Up @@ -1964,7 +1964,7 @@ public static function save_grade_returns() {

/**
* Describes the parameters for save_grades
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.7
*/
public static function save_grades_parameters() {
Expand Down Expand Up @@ -2220,7 +2220,7 @@ public static function view_grading_table_returns() {
/**
* Describes the parameters for view_submission_status.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.1
*/
public static function view_submission_status_parameters() {
Expand Down Expand Up @@ -2274,7 +2274,7 @@ public static function view_submission_status_returns() {
/**
* Describes the parameters for get_submission_status.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.1
*/
public static function get_submission_status_parameters() {
Expand Down Expand Up @@ -2827,7 +2827,7 @@ protected static function validate_assign($assignid) {
/**
* Describes the parameters for view_assign.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.2
*/
public static function view_assign_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion mod/book/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function view_book_returns() {
/**
* Describes the parameters for get_books_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function get_books_by_courses_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion mod/chat/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public static function view_chat_returns() {
/**
* Describes the parameters for get_chats_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function get_chats_by_courses_parameters() {
Expand Down
10 changes: 5 additions & 5 deletions mod/choice/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class mod_choice_external extends external_api {
/**
* Describes the parameters for get_choices_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function get_choice_results_parameters() {
Expand Down Expand Up @@ -167,7 +167,7 @@ public static function get_choice_results_returns() {
/**
* Describes the parameters for mod_choice_get_choice_options.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function get_choice_options_parameters() {
Expand Down Expand Up @@ -288,7 +288,7 @@ public static function get_choice_options_returns() {
/**
* Describes the parameters for submit_choice_response.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function submit_choice_response_parameters() {
Expand Down Expand Up @@ -449,7 +449,7 @@ public static function view_choice_returns() {
/**
* Describes the parameters for get_choices_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function get_choices_by_courses_parameters() {
Expand Down Expand Up @@ -587,7 +587,7 @@ public static function get_choices_by_courses_returns() {
/**
* Describes the parameters for delete_choice_responses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function delete_choice_responses_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion mod/data/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class mod_data_external extends external_api {
/**
* Describes the parameters for get_databases_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.9
*/
public static function get_databases_by_courses_parameters() {
Expand Down
6 changes: 3 additions & 3 deletions mod/forum/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class mod_forum_external extends external_api {
/**
* Describes the parameters for get_forum.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.5
*/
public static function get_forums_by_courses_parameters() {
Expand Down Expand Up @@ -152,7 +152,7 @@ public static function get_forums_by_courses_returns() {
/**
* Describes the parameters for get_forum_discussion_posts.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.7
*/
public static function get_forum_discussion_posts_parameters() {
Expand Down Expand Up @@ -350,7 +350,7 @@ public static function get_forum_discussion_posts_returns() {
/**
* Describes the parameters for get_forum_discussions_paginated.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 2.8
*/
public static function get_forum_discussions_paginated_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion mod/glossary/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ protected static function validate_glossary($id) {
/**
* Describes the parameters for get_glossaries_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.1
*/
public static function get_glossaries_by_courses_parameters() {
Expand Down
2 changes: 1 addition & 1 deletion mod/imscp/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static function view_imscp_returns() {
/**
* Describes the parameters for get_imscps_by_courses.
*
* @return external_external_function_parameters
* @return external_function_parameters
* @since Moodle 3.0
*/
public static function get_imscps_by_courses_parameters() {
Expand Down
Loading

0 comments on commit 9db43c7

Please sign in to comment.