webservice MDL-13129 add moodle_course_get_courses and moodle_course_create_courses

This commit is contained in:
jerome mouneyrac 2010-08-06 15:22:27 +00:00
parent 207d145dda
commit 6bb31e404e
5 changed files with 697 additions and 85 deletions

View file

@ -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)
)
)
);