private function _getChildFieldsetsFormatted(array $aNestedFieldsets, array $aParentFieldset)
{
$_aInheritingFieldsetValues = array('section_id' => $aParentFieldset['section_id'], 'section_title' => $aParentFieldset['section_title'], 'placement' => $aParentFieldset['placement'], 'page_slug' => $aParentFieldset['page_slug'], 'tab_slug' => $aParentFieldset['tab_slug'], 'option_key' => $aParentFieldset['option_key'], 'class_name' => $aParentFieldset['class_name'], 'capability' => $aParentFieldset['capability'], '_structure_type' => $aParentFieldset['_structure_type'], '_caller_object' => $aParentFieldset['_caller_object'], '_section_path' => $aParentFieldset['_section_path'], '_section_path_array' => $aParentFieldset['_section_path_array'], '_subsection_index' => $aParentFieldset['_subsection_index']);
foreach ($aNestedFieldsets as $_isIndex => &$_aNestedFieldset) {
if (is_scalar($_aNestedFieldset)) {
$_aNestedFieldset = array('field_id' => $aParentFieldset['field_id'] . '_' . uniqid(), 'content' => $_aNestedFieldset);
}
$_aNestedFieldset['_parent_field_path'] = $aParentFieldset['_field_path'];
$_aNestedFieldset['_parent_field_path_array'] = explode('|', $aParentFieldset['_parent_field_path']);
$_aNestedFieldset['_nested_depth'] = $aParentFieldset['_nested_depth'] + 1;
$_oFieldsetFormatter = new AdminPageFramework_Form_Model___Format_Fieldset($_aNestedFieldset + $_aInheritingFieldsetValues, $this->sStructureType, $this->sCapability, $this->iCountOfElements, $this->iSubSectionIndex, $this->bIsSectionRepeatable, $this->oCallerObject);
$_aNestedFieldset = $_oFieldsetFormatter->get();
}
return $aNestedFieldsets;
}