Function getNestedAlbumList
generates a nested list of albums for the album tab sorting Returns an array of "albums" each element contains: 'name' which is the folder name 'sort_order' which is an array of the sort order set
|
$subalbum |
level album (NULL is the gallery) |
|
$levels |
far to nest |
|
$checkalbumrights = true |
(Default) for album rights for backend usage, FALSE to skip for frontend usage |
|
$level = array() |
for keeping the sort order elements |
array
|
array |