aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-03 10:21:36 +0100
committerplegall <plg@piwigo.org>2016-02-03 10:21:36 +0100
commit6af4590f01c7ea249c6d03b37fb1001ce96b7f4c (patch)
tree0106bfc992362a6e5e45887b73dc217cd6799b5a /ws.php
parentc4b7977a4272e7e7dedc2adc7d2b2e18867ef27a (diff)
fixes #410, add param thumbnail_size to pwg.categories.getList
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 66e6a707d..16695b697 100644
--- a/ws.php
+++ b/ws.php
@@ -193,6 +193,10 @@ function ws_addDefaultMethods( $arr )
'type'=>WS_TYPE_BOOL),
'fullname' => array('default'=>false,
'type'=>WS_TYPE_BOOL),
+ 'thumbnail_size' => array(
+ 'default' => 'thumb',
+ 'info' => 'square, thumb, 2small, xsmall, small, medium, large, xlarge, xxlarge'
+ ),
),
'Returns a list of categories.',
$ws_functions_root . 'pwg.categories.php'