private function _getSectionsetsTables(array $aSectionsets, array $aFieldsets, array $aCallbacks)
{
if (empty($aSectionsets)) {
return '';
}
if (!count($aFieldsets)) {
return '';
}
$_aFirstSectionset = $this->getFirstElement($aSectionsets);
$_aOutputs = array('section_tab_list' => array(), 'section_contents' => array(), 'count_subsections' => 0);
$_sSectionTabSlug = $_aFirstSectionset['section_tab_slug'];
$_sThisSectionID = $_aFirstSectionset['section_id'];
$_sSectionsID = 'sections-' . $_sThisSectionID;
$_aCollapsible = $this->_getCollapsibleArgumentForSections($_aFirstSectionset);
foreach ($aSectionsets as $_aSectionset) {
$_aOutputs = $this->_getSectionsetTable($_aOutputs, $_sSectionsID, $_aSectionset, $aFieldsets);
}
$_aOutputs['section_contents'] = array_filter($_aOutputs['section_contents']);
return $this->_getFormattedSectionsTablesOutput($_aOutputs, $_aFirstSectionset, $_sSectionsID, $this->getAsArray($_aCollapsible), $_sSectionTabSlug);
}