aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-05-31 20:21:08 +0000
committerplegall <plg@piwigo.org>2011-05-31 20:21:08 +0000
commit3197a76eda34281425764383aa2fda7a97bd2c8e (patch)
treea4abfd143e8a1eed32678a5b581745fa56927fab /ws.php
parent214cc4de49bdfa2b5dcc799a89fa2009eae048a1 (diff)
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/branches/2.2@11152 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index 7bc4dc21c..7b60a56c3 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(