Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
7ef73632
Commit
7ef73632
authored
Dec 14, 2009
by
jerome mouneyrac
Browse files
webservice MDL-20803 fix REST POST parameters documentation
parent
886e3bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
webservice/wsdocrenderer.php
View file @
7ef73632
...
...
@@ -207,8 +207,9 @@ EOF;
return
$return
;
}
else
if
(
$paramdescription
instanceof
external_single_structure
)
{
$singlestructuredesc
=
""
;
$initialparamstring
=
$paramstring
;
foreach
(
$paramdescription
->
keys
as
$attributname
=>
$attribut
)
{
$paramstring
=
$paramstring
.
'['
.
$attributname
.
']'
;
$paramstring
=
$
initial
paramstring
.
'['
.
$attributname
.
']'
;
$singlestructuredesc
.
=
$this
->
rest_param_description_html
(
$paramdescription
->
keys
[
$attributname
],
$paramstring
);
}
return
$singlestructuredesc
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment