From 257808402bed53e44bc8705d22e4d05f99fc37da Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 31 May 2011 20:25:40 +0000 Subject: merge r11152 from branch 2.2 to trunk feature 1622 added: pwg.categories.getList is now able to return a tree with the new "tree_output" option. Only compatible with json/php output formats. git-svn-id: http://piwigo.org/svn/trunk@11155 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ws.php') diff --git a/ws.php b/ws.php index d1d774899..939489582 100644 --- a/ws.php +++ b/ws.php @@ -81,8 +81,9 @@ function ws_addDefaultMethods( $arr ) 'cat_id' => array('default'=>0), 'recursive' => array('default'=>false), 'public' => array('default'=>false), + 'tree_output' => array('default'=>false), ), - 'retrieves a list of categories' ); + 'retrieves a list of categories (tree_output option only compatible with json/php output format' ); $service->addMethod('pwg.images.addComment', 'ws_images_addComment', array( -- cgit v1.2.3