/** * Fetch the breakdown of descendents for a given item. Note: this call is more expensive than * MyOOS_CoreApi::fetchDescendentCounts(), so use that version where possible. * * @param array $itemIds * @return array GalleryStatus a status code * array(id => array('GalleryAlbumItem' => ##, * 'GalleryDataItem' => ##), * id => array('GalleryAlbumItem' => ##, * 'GalleryDataItem' => ##)) */ function fetchItemizedDescendentCounts($itemIds) { MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryItemHelper_advanced.class'); return GalleryItemHelper_advanced::fetchItemizedDescendentCounts($itemIds); }