aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-07-12 00:30:27 +0000
committerrvelices <rv-github@modusoptimus.com>2008-07-12 00:30:27 +0000
commite2ee204c128717069c84437e0aa75bf14b6b352a (patch)
tree72f8059850e19b21168f217aa9a3b09096fdba87 /ws.php
parent22ce08c6fbc9f52152ac300156d72256d76a1d64 (diff)
- add to caddie on picture page done through ajax
git-svn-id: http://piwigo.org/svn/trunk@2429 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 45601a1cb..003e1df54 100644
--- a/ws.php
+++ b/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),