AdminPageFramework_Form_View___Section::_getCustomSectionContent PHP Метод

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

    private function _getCustomSectionContent()
    {
        if (is_scalar($this->aSectionset['content'])) {
            return "<tr class='admin-page-framework-custom-content'>" . "<td>" . $this->aSectionset['content'] . "</td>" . "</tr>";
        }
        $_sSectionPath = $this->aSectionset['_section_path'];
        $_aSectionsets = $this->aStructure['sectionsets'];
        if (!isset($_aSectionsets[$_sSectionPath])) {
            return '';
        }
        unset($_aSectionsets[$_sSectionPath]);
        $_aNestedSectionPaths = $this->_getNestedSectionPaths($_sSectionPath, $this->aSectionset['content'], $_aSectionsets);
        $_aSectionsets = array_intersect_key($_aSectionsets, $_aNestedSectionPaths);
        $_aStructure = $this->aStructure;
        $_aStructure['sectionsets'] = $_aSectionsets;
        $_aArguments = array('nested_depth' => $this->getElement($this->aArguments, 'nested_depth', 0) + 1) + $this->aArguments;
        $_oFormTables = new AdminPageFramework_Form_View___Sectionsets($_aArguments, $_aStructure, $this->aSavedData, $this->aFieldErrors, $this->aCallbacks, $this->oMsg);
        return "<tr class='admin-page-framework-nested-sectionsets'>" . "<td>" . $_oFormTables->get() . "</td>" . "</tr>";
    }