public function getTabOnlyOptions(array $aOptions, $sPageSlug, $sTabSlug = '')
{
$_aStoredOptionsOfTheTab = array();
if (!$sTabSlug) {
return $_aStoredOptionsOfTheTab;
}
foreach ($this->aFieldsets as $_sSectionID => $_aSubSectionsOrFields) {
if (!$this->_isThisSectionSetToThisTab($_sSectionID, $sPageSlug, $sTabSlug)) {
continue;
}
$this->_setTabOnlyOptions($_aStoredOptionsOfTheTab, $aOptions, $_aSubSectionsOrFields, $_sSectionID);
}
return $_aStoredOptionsOfTheTab;
}