diff options
author | plegall <plg@piwigo.org> | 2010-12-23 22:41:28 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-12-23 22:41:28 +0000 |
commit | c1d517c285f7e159c877bf89c0ce12ad6f701461 (patch) | |
tree | 6a4a449dc28eed2cd55750ec465da316ae12d37e /ws.php | |
parent | d51bbfb65cd5ee3f3ad9c0275d8e7791bb233b82 (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 'ws.php')
-rw-r--r-- | ws.php | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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(), |