private function _setConditionedFields(array &$_aNewFields, $_aSubSectionOrFields, $_sSectionID)
{
foreach ($_aSubSectionOrFields as $_sIndexOrFieldID => $_aSubSectionOrField) {
if ($this->isNumericInteger($_sIndexOrFieldID)) {
$_sSubSectionIndex = $_sIndexOrFieldID;
$_aFields = $_aSubSectionOrField;
foreach ($_aFields as $_aField) {
if (!$this->_isAllowed($_aField)) {
continue;
}
$_aNewFields[$_sSectionID][$_sSubSectionIndex][$_aField['field_id']] = $_aField;
}
continue;
}
$_aField = $_aSubSectionOrField;
if (!$this->_isAllowed($_aField)) {
continue;
}
$_aNewFields[$_sSectionID][$_aField['field_id']] = $_aField;
}
}