Changeset 25196 for trunk/ws.php


Ignore:
Timestamp:
Oct 28, 2013, 6:53:36 PM (10 years ago)
Author:
mistic100
Message:

feature 2976: add 'display' parameter for pwg.users.getList

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r25195 r25196  
    812812        'order' =>      array('default'=>'id',
    813813                              'info'=>'id, username, level, email'),
    814         ),
    815       '<b>Admin only.</b> Retrieves a list of all the users.',
     814        'display' =>    array('default'=>'basics',
     815                              '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'),
     816        ),
     817      '<b>Admin only.</b> Retrieves a list of all the users.
     818<br>"display" controls which data are returned, "basics" stands for "username,email,status,level,groups"',
    816819      null,
    817820      array('admin_only'=>true)
     
    853856        'email' =>            array('flags'=>WS_PARAM_OPTIONAL),
    854857        'status' =>           array('flags'=>WS_PARAM_OPTIONAL,
    855                                     'info'=>'generic,normal,admin'),
     858                                    'info'=>'guest,generic,normal,admin,webmaster'),
    856859        'level'=>             array('flags'=>WS_PARAM_OPTIONAL,
    857860                                    'maxValue'=>max($conf['available_permission_levels']),
Note: See TracChangeset for help on using the changeset viewer.