Changeset 23361 for extensions/UserCollections/include/ws_functions.inc.php
- Timestamp:
- Jun 19, 2013, 2:43:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/include/ws_functions.inc.php
r20090 r23361 12 12 array( 13 13 'name' => array(), 14 'user_id' => array('default' => null ),14 'user_id' => array('default' => null, 'info'=>'Admin parameter, default is current user'), 15 15 'active' => array('default' => 0), 16 16 'public' => array('default' => 0), 17 17 ), 18 'Create a new User Collection. If "user_id" is empty, the collection is created for the current user.'18 'Create a new User Collection.' 19 19 ); 20 20 … … 23 23 'ws_collections_delete', 24 24 array( 25 'col_id' => array( ),26 ), 27 'Delete a User Collection. The current user must be admin or owner of the collection.'25 'col_id' => array('info'=>'The current user must be admin or owner of the collection'), 26 ), 27 'Delete a User Collection.' 28 28 ); 29 29 … … 33 33 array( 34 34 'col_id' => array('default' => null), 35 'user_id' => array('default' => null ),35 'user_id' => array('default' => null, 'info'=>'Admin parameter, default is current user'), 36 36 'name' => array('default' => null), 37 37 'public' => array('default' => null), … … 45 45 'ws_collections_addImages', 46 46 array( 47 'col_id' => array( ),47 'col_id' => array('info'=>'The current user must be admin or owner of the collection'), 48 48 'image_ids' => array('flags'=>WS_PARAM_FORCE_ARRAY), 49 49 ), 50 'Add images to a collection. The current user must be admin or owner of the collection.'50 'Add images to a collection.' 51 51 ); 52 52 … … 55 55 'ws_collections_removeImages', 56 56 array( 57 'col_id' => array( ),57 'col_id' => array('info'=>'The current user must be admin or owner of the collection'), 58 58 'image_ids' => array('flags'=>WS_PARAM_FORCE_ARRAY), 59 59 ), 60 'Remove images from a collection. The current user must be admin or owner of the collection.'60 'Remove images from a collection.' 61 61 ); 62 62 … … 78 78 array( 79 79 'col_id' => array(), 80 'content' => array('default'=>array('id','name','url','path'), 'flags'=>WS_PARAM_FORCE_ARRAY), 81 ), 82 'Returns a serialized version of the collection in CSV.<br>Available options for "content" are : id, file, name, url, path.<br>The return type is plain/text whatever you select as response format.' 80 'content' => array( 81 'default'=>array('id','name','url','path'), 82 'flags'=>WS_PARAM_FORCE_ARRAY, 83 'info'=>'Available options are: id, file, name, url, path' 84 ), 85 ), 86 'Returns a serialized version of the collection in CSV.<br>The return type is plain/text whatever you select as response format.' 83 87 ); 84 88 }
Note: See TracChangeset
for help on using the changeset viewer.