diff options
author | mistic100 <mistic@piwigo.org> | 2013-02-13 19:26:34 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-02-13 19:26:34 +0000 |
commit | 98f08b3ee3e262cf5529aa9af695037f6fbf0c7c (patch) | |
tree | 7f7dc0d11e34eccaed56e82cbdb21f26de9e95e8 /include/ws_core.inc.php | |
parent | 9687732271f8394ea40eeda7f38e9386076b7512 (diff) |
feature:2847 Display additional info for API methods fields
git-svn-id: http://piwigo.org/svn/trunk@20750 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/ws_core.inc.php')
-rw-r--r-- | include/ws_core.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php index 78cb5064c..3e1db6647 100644 --- a/include/ws_core.inc.php +++ b/include/ws_core.inc.php @@ -572,6 +572,10 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF { $param_data['defaultValue'] = $options['default']; } + if (isset($options['info'])) + { + $param_data['info'] = $options['info']; + } $res['params'][] = $param_data; } return $res; |