aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-12-23 22:41:28 +0000
committerplegall <plg@piwigo.org>2010-12-23 22:41:28 +0000
commitc1d517c285f7e159c877bf89c0ce12ad6f701461 (patch)
tree6a4a449dc28eed2cd55750ec465da316ae12d37e /ws.php
parentd51bbfb65cd5ee3f3ad9c0275d8e7791bb233b82 (diff)
feature 2082 added: new method pwg.categories.move from the pwg.images.addSimple plugin
git-svn-id: http://piwigo.org/svn/trunk@8272 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 808000108..6bc46e37f 100644
--- a/ws.php
+++ b/ws.php
@@ -277,6 +277,17 @@ function ws_addDefaultMethods( $arr )
);
$service->addMethod(
+ 'pwg.categories.move',
+ 'ws_categories_move',
+ array(
+ 'category_id'=>array('default'=>0),
+ 'parent'=>array('default'=>0),
+ 'pwg_token' => array('default' => null),
+ ),
+ 'Move categories. You can give several category_ids, comma separated. Set parent as 0 to move to gallery root. Only virtual categories can be moved.'
+ );
+
+ $service->addMethod(
'pwg.tags.getAdminList',
'ws_tags_getAdminList',
array(),