mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
webservice MDL-13129 add moodle_course_get_courses and moodle_course_create_courses
This commit is contained in:
parent
207d145dda
commit
6bb31e404e
5 changed files with 697 additions and 85 deletions
|
@ -68,7 +68,7 @@ class moodle_user_external extends external_api {
|
|||
'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'),
|
||||
'value' => new external_value(PARAM_RAW, 'The value of the custom field')
|
||||
)
|
||||
), 'User custom fields', VALUE_OPTIONAL)
|
||||
), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@ -263,7 +263,7 @@ class moodle_user_external extends external_api {
|
|||
'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'),
|
||||
'value' => new external_value(PARAM_RAW, 'The value of the custom field')
|
||||
)
|
||||
), 'User custom fields', VALUE_OPTIONAL),
|
||||
), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL),
|
||||
'preferences' => new external_multiple_structure(
|
||||
new external_single_structure(
|
||||
array(
|
||||
|
@ -437,7 +437,7 @@ class moodle_user_external extends external_api {
|
|||
'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'),
|
||||
'value' => new external_value(PARAM_RAW, 'The value of the custom field')
|
||||
)
|
||||
), 'User custom fields', VALUE_OPTIONAL)
|
||||
), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue