From c1d517c285f7e159c877bf89c0ce12ad6f701461 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 23 Dec 2010 22:41:28 +0000 Subject: 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 --- ws.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index 808000108..6bc46e37f 100644 --- a/ws.php +++ b/ws.php @@ -276,6 +276,17 @@ function ws_addDefaultMethods( $arr )
photo_deletion_mode can be "no_delete" (may create orphan photos), "delete_orphans" (default mode, only deletes photos linked to no other album) or "force_delete" (delete all photos, even those linked to other albums)' ); + $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', -- cgit v1.2.3