Changeset 25195 for trunk/ws.php
- Timestamp:
- Oct 28, 2013, 6:20:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ws.php
r25118 r25195 847 847 'ws_users_setInfo', 848 848 array( 849 'user_id' => array('type'=>WS_TYPE_ID), 850 'username' => array('flags'=>WS_PARAM_OPTIONAL), 851 'password' => array('flags'=>WS_PARAM_OPTIONAL), 852 'email' => array('flags'=>WS_PARAM_OPTIONAL), 853 'status' => array('flags'=>WS_PARAM_OPTIONAL, 854 'info'=>'generic,normal,admin'), 855 'level'=> array('flags'=>WS_PARAM_OPTIONAL, 856 'maxValue'=>max($conf['available_permission_levels']), 857 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE), 858 ), 859 '<b>Admin & POST only.</b> Updates a user. Leave a field blank to keep the current value.', 849 'user_id' => array('flags'=>WS_PARAM_FORCE_ARRAY, 850 'type'=>WS_TYPE_ID), 851 'username' => array('flags'=>WS_PARAM_OPTIONAL), 852 'password' => array('flags'=>WS_PARAM_OPTIONAL), 853 'email' => array('flags'=>WS_PARAM_OPTIONAL), 854 'status' => array('flags'=>WS_PARAM_OPTIONAL, 855 'info'=>'generic,normal,admin'), 856 'level'=> array('flags'=>WS_PARAM_OPTIONAL, 857 'maxValue'=>max($conf['available_permission_levels']), 858 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE), 859 'language' => array('flags'=>WS_PARAM_OPTIONAL), 860 'theme' => array('flags'=>WS_PARAM_OPTIONAL), 861 // bellow are parameters removed in a future version 862 'nb_image_page' => array('flags'=>WS_PARAM_OPTIONAL, 863 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE|WS_TYPE_NOTNULL), 864 'recent_period' => array('flags'=>WS_PARAM_OPTIONAL, 865 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE), 866 'expand' => array('flags'=>WS_PARAM_OPTIONAL, 867 'type'=>WS_TYPE_BOOL), 868 'show_nb_comments' => array('flags'=>WS_PARAM_OPTIONAL, 869 'type'=>WS_TYPE_BOOL), 870 'show_nb_hits' => array('flags'=>WS_PARAM_OPTIONAL, 871 'type'=>WS_TYPE_BOOL), 872 'enabled_high' => array('flags'=>WS_PARAM_OPTIONAL, 873 'type'=>WS_TYPE_BOOL), 874 ), 875 '<b>Admin & POST only.</b> Updates a user. Leave a field blank to keep the current value. 876 <br>"username", "password" and "email" are ignored if "user_id" is an array.', 860 877 null, 861 878 array('admin_only'=>true, 'post_only'=>true)
Note: See TracChangeset
for help on using the changeset viewer.