Changeset 2435 for trunk/ws.php
- Timestamp:
- Jul 15, 2008, 3:29:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ws.php
r2429 r2435 44 44 'retrieves the PWG version'); 45 45 46 $service->addMethod('pwg.caddie.add', 'ws_caddie_add', 46 $service->addMethod('pwg.caddie.add', 'ws_caddie_add', 47 47 array( 48 48 'image_id'=> array( 'flags'=>WS_PARAM_FORCE_ARRAY ), … … 95 95 'image_id' => array(), 96 96 'comments_page' => array('default'=>0 ), 97 'comments_per_page' => array( 98 'default' => $conf['nb_comment_page'], 97 'comments_per_page' => array( 98 'default' => $conf['nb_comment_page'], 99 99 'maxValue' => 2*$conf['nb_comment_page'], 100 100 ), 101 101 ), 102 102 'retrieves information about the given photo' ); 103 104 $service->addMethod('pwg.images.rate', 'ws_images_rate', 105 array( 106 'image_id' => array(), 107 'rate' => array(), 108 ), 109 'rate the image' ); 103 110 104 111 $service->addMethod('pwg.images.search', 'ws_images_search',
Note: See TracChangeset
for help on using the changeset viewer.