AdminPageFramework_Form_View___Sectionsets::_getSectionsetTable PHP Method

_getSectionsetTable() private method

private _getSectionsetTable ( $_aOutputs, $_sSectionsID, array $_aSection, array $aFieldsInSections )
$_aSection array
$aFieldsInSections array
    private function _getSectionsetTable($_aOutputs, $_sSectionsID, array $_aSection, array $aFieldsInSections)
    {
        if (!$this->isSectionsetVisible($_aSection)) {
            return $_aOutputs;
        }
        $_aOutputs['section_contents'][] = $this->_getUnsetFlagSectionInputTag($_aSection);
        $_aSubSections = $this->getIntegerKeyElements($this->getElementAsArray($aFieldsInSections, $_aSection['_section_path'], array()));
        $_aOutputs['count_subsections'] = count($_aSubSections);
        if ($_aOutputs['count_subsections']) {
            return $this->_getSubSections($_aOutputs, $_sSectionsID, $_aSection, $_aSubSections);
        }
        $_oEachSectionArguments = new AdminPageFramework_Form_Model___Format_EachSection($_aSection, null, array(), $_sSectionsID);
        $_aOutputs = $this->_getSectionTableWithTabList($_aOutputs, $_oEachSectionArguments->get(), $this->getElementAsArray($aFieldsInSections, $_aSection['_section_path'], array()));
        return $_aOutputs;
    }