aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-05-31 20:25:40 +0000
committerplegall <plg@piwigo.org>2011-05-31 20:25:40 +0000
commit257808402bed53e44bc8705d22e4d05f99fc37da (patch)
tree64ae348853619567d2ea14c6df0d98ce71cfb3b1 /ws.php
parent6ba7f823069f08c98e9e40309021a3fb105775a2 (diff)
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
Diffstat (limited to '')
-rw-r--r--ws.php3
1 files changed, 2 insertions, 1 deletions
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(