mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-59876-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
dbf0819d92
2 changed files with 7 additions and 7 deletions
|
@ -252,7 +252,7 @@ class core_enrol_external extends external_api {
|
||||||
'preferences' => new external_multiple_structure(
|
'preferences' => new external_multiple_structure(
|
||||||
new external_single_structure(
|
new external_single_structure(
|
||||||
array(
|
array(
|
||||||
'name' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preferences'),
|
'name' => new external_value(PARAM_RAW, 'The name of the preferences'),
|
||||||
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
|
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
|
||||||
)
|
)
|
||||||
), 'User preferences', VALUE_OPTIONAL),
|
), 'User preferences', VALUE_OPTIONAL),
|
||||||
|
@ -725,7 +725,7 @@ class core_enrol_external extends external_api {
|
||||||
'preferences' => new external_multiple_structure(
|
'preferences' => new external_multiple_structure(
|
||||||
new external_single_structure(
|
new external_single_structure(
|
||||||
array(
|
array(
|
||||||
'name' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preferences'),
|
'name' => new external_value(PARAM_RAW, 'The name of the preferences'),
|
||||||
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
|
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
|
||||||
)
|
)
|
||||||
), 'User preferences', VALUE_OPTIONAL),
|
), 'User preferences', VALUE_OPTIONAL),
|
||||||
|
|
|
@ -103,7 +103,7 @@ class core_user_external extends external_api {
|
||||||
'preferences' => new external_multiple_structure(
|
'preferences' => new external_multiple_structure(
|
||||||
new external_single_structure(
|
new external_single_structure(
|
||||||
array(
|
array(
|
||||||
'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preference'),
|
'type' => new external_value(PARAM_RAW, 'The name of the preference'),
|
||||||
'value' => new external_value(PARAM_RAW, 'The value of the preference')
|
'value' => new external_value(PARAM_RAW, 'The value of the preference')
|
||||||
)
|
)
|
||||||
), 'User preferences', VALUE_OPTIONAL),
|
), 'User preferences', VALUE_OPTIONAL),
|
||||||
|
@ -341,7 +341,7 @@ class core_user_external extends external_api {
|
||||||
'preferences' => new external_multiple_structure(
|
'preferences' => new external_multiple_structure(
|
||||||
new external_single_structure(
|
new external_single_structure(
|
||||||
array(
|
array(
|
||||||
'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preference'),
|
'type' => new external_value(PARAM_RAW, 'The name of the preference'),
|
||||||
'value' => new external_value(PARAM_RAW, 'The value of the preference')
|
'value' => new external_value(PARAM_RAW, 'The value of the preference')
|
||||||
)
|
)
|
||||||
), 'User preferences', VALUE_DEFAULT, array()
|
), 'User preferences', VALUE_DEFAULT, array()
|
||||||
|
@ -496,7 +496,7 @@ class core_user_external extends external_api {
|
||||||
'preferences' => new external_multiple_structure(
|
'preferences' => new external_multiple_structure(
|
||||||
new external_single_structure(
|
new external_single_structure(
|
||||||
array(
|
array(
|
||||||
'type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preference'),
|
'type' => new external_value(PARAM_RAW, 'The name of the preference'),
|
||||||
'value' => new external_value(PARAM_RAW, 'The value of the preference')
|
'value' => new external_value(PARAM_RAW, 'The value of the preference')
|
||||||
)
|
)
|
||||||
), 'User preferences', VALUE_OPTIONAL),
|
), 'User preferences', VALUE_OPTIONAL),
|
||||||
|
@ -1069,8 +1069,8 @@ class core_user_external extends external_api {
|
||||||
'preferences' => new external_multiple_structure(
|
'preferences' => new external_multiple_structure(
|
||||||
new external_single_structure(
|
new external_single_structure(
|
||||||
array(
|
array(
|
||||||
'name' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preferences'),
|
'name' => new external_value(PARAM_RAW, 'The name of the preferences'),
|
||||||
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
|
'value' => new external_value(PARAM_RAW, 'The value of the preference'),
|
||||||
)
|
)
|
||||||
), 'Users preferences', VALUE_OPTIONAL)
|
), 'Users preferences', VALUE_OPTIONAL)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue