mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #2132 update ws_categories_getAdminList
add new params: cat_id and recursive
This commit is contained in:
6
ws.php
6
ws.php
@@ -603,7 +603,13 @@ function ws_addDefaultMethods( $arr )
|
||||
'pwg.categories.getAdminList',
|
||||
'ws_categories_getAdminList',
|
||||
array(
|
||||
'cat_id' => array('default'=>null,
|
||||
'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE,
|
||||
'info'=>'Parent category. "0" or empty for root.'),
|
||||
'search' => array('default' => null),
|
||||
'recursive' => array(
|
||||
'default' => true,
|
||||
'type' => WS_TYPE_BOOL),
|
||||
'additional_output' => array('default'=>null,
|
||||
'info'=>'Comma saparated list (see method description)'),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user