- add to caddie on picture page done through ajax
git-svn-id: http://piwigo.org/svn/trunk@2429 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
22ce08c6fb
commit
e2ee204c12
4 changed files with 85 additions and 37 deletions
6
ws.php
6
ws.php
|
|
@ -43,6 +43,12 @@ function ws_addDefaultMethods( $arr )
|
|||
$service->addMethod('pwg.getVersion', 'ws_getVersion', null,
|
||||
'retrieves the PWG version');
|
||||
|
||||
$service->addMethod('pwg.caddie.add', 'ws_caddie_add',
|
||||
array(
|
||||
'image_id'=> array( 'flags'=>WS_PARAM_FORCE_ARRAY ),
|
||||
),
|
||||
'adds the elements to the caddie');
|
||||
|
||||
$service->addMethod('pwg.categories.getImages', 'ws_categories_getImages',
|
||||
array(
|
||||
'cat_id'=>array('default'=>0, 'flags'=>WS_PARAM_FORCE_ARRAY),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue