private function _divideElementsBySectionTabs(array &$aSectionsets, array &$aFieldsets, array &$aSectionTabs)
{
$_aSectionsBySectionTab = array();
$_aFieldsBySectionTab = array();
$_iIndex = 0;
foreach ($aSectionsets as $_sSectionPath => $_aSectionset) {
if (!isset($aFieldsets[$_sSectionPath]) && !$this->_isCustomContentSet($_aSectionset)) {
continue;
}
if ($this->iNestedDepth != $_aSectionset['_nested_depth']) {
continue;
}
$_sSectionTaqbSlug = $this->getAOrB($_aSectionset['section_tab_slug'], $_aSectionset['section_tab_slug'], '_default_' . $this->iNestedDepth . '_' . ++$_iIndex);
$_aSectionsBySectionTab[$_sSectionTaqbSlug][$_sSectionPath] = $_aSectionset;
$_aFieldsBySectionTab[$_sSectionTaqbSlug][$_sSectionPath] = $this->getElement($aFieldsets, $_sSectionPath);
$aSectionTabs[$_sSectionTaqbSlug] = $_sSectionTaqbSlug;
}
$aSectionsets = $_aSectionsBySectionTab;
$aFieldsets = $_aFieldsBySectionTab;
}