AdminPageFramework_Form_View___Sectionsets::_getSubSections PHP Метод

_getSubSections() приватный Метод

private _getSubSections ( $_aOutputs, $_sSectionsID, $_aSection, $_aSubSections )
    private function _getSubSections($_aOutputs, $_sSectionsID, $_aSection, $_aSubSections)
    {
        if (!empty($_aSection['repeatable'])) {
            $_aOutputs['section_contents'][] = AdminPageFramework_Form_View___Script_RepeatableSection::getEnabler($_sSectionsID, $_aOutputs['count_subsections'], $_aSection['repeatable'], $this->oMsg);
            $_aOutputs['section_contents'][] = $this->_getRepeatableSectionFlagTag($_aSection);
        }
        if (!empty($_aSection['sortable'])) {
            $_aOutputs['section_contents'][] = AdminPageFramework_Form_View___Script_SortableSection::getEnabler($_sSectionsID, $_aSection['sortable'], $this->oMsg);
            $_aOutputs['section_contents'][] = $this->_getSortableSectionFlagTag($_aSection);
        }
        $_aSubSections = $this->numerizeElements($_aSubSections);
        foreach ($_aSubSections as $_iIndex => $_aFields) {
            $_oEachSectionArguments = new AdminPageFramework_Form_Model___Format_EachSection($_aSection, $_iIndex, $_aSubSections, $_sSectionsID);
            $_aOutputs = $this->_getSectionTableWithTabList($_aOutputs, $_oEachSectionArguments->get(), $_aFields);
        }
        return $_aOutputs;
    }