fixes #410, add param thumbnail_size to pwg.categories.getList

This commit is contained in:
plegall
2016-02-03 10:21:36 +01:00
parent c4b7977a42
commit 6af4590f01
2 changed files with 11 additions and 2 deletions
+4
View File
@@ -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'