aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-11-13 11:08:22 +0000
committermistic100 <mistic@piwigo.org>2013-11-13 11:08:22 +0000
commit892fdb202e33bf74dafdc74363258dbce00d1699 (patch)
tree55e734e0475579b4a9f35893df6e7c724e896fe1 /ws.php
parent53ac8a878e8ec201ef8105e12e0d70729a94ff4f (diff)
feature 2976: improve lisiblity of pwg.users.getList options on APi explore + optimizations (remove in_array())
git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/ws.php b/ws.php
index 6d4a35caf..b3f7c0076 100644
--- a/ws.php
+++ b/ws.php
@@ -826,10 +826,16 @@ function ws_addDefaultMethods( $arr )
'order' => array('default'=>'id',
'info'=>'id, username, level, email'),
'display' => array('default'=>'basics',
- 'info'=>'all,basics,none,username,email,status,level,groups,language,theme,nb_image_page,recent_period,expand,show_nb_comments,show_nb_hits,enabled_high'),
- ),
- 'Retrieves a list of all the users.
-<br>"display" controls which data are returned, "basics" stands for "username,email,status,level,groups"',
+ 'info'=>'Comma saparated list (see method description)'),
+ ),
+ 'Retrieves a list of all the users.<br>
+<br>
+<b>display</b> controls which data are returned, possible values are:<br>
+all, basics, none,<br>
+username, email, status, level, groups,<br>
+language, theme, nb_image_page, recent_period, expand, show_nb_comments, show_nb_hits,<br>
+enabled_high, registration_date, registration_date_string, registration_date_since, last_visit, last_visit_string, last_visit_since<br>
+<b>basics</b> stands for "username,email,status,level,groups"',
$ws_functions_root . 'pwg.users.php',
array('admin_only'=>true)
);