AdminPageFramework_Form_View___Format_SectionsetsByTab::getFieldsets PHP Метод

getFieldsets() публичный Метод

public getFieldsets ( $sTabSlug )
    public function getFieldsets($sTabSlug)
    {
        return $this->getElementAsArray($this->aFieldsets, $sTabSlug);
    }

Usage Example

 public function get()
 {
     $_oFormatSectionsetsByTab = new AdminPageFramework_Form_View___Format_SectionsetsByTab($this->aStructure['sectionsets'], $this->aStructure['fieldsets'], $this->aArguments['nested_depth']);
     $_aOutput = array();
     foreach ($_oFormatSectionsetsByTab->getTabs() as $_sSectionTabSlug) {
         $_aOutput[] = $this->_getFormOutput($_oFormatSectionsetsByTab->getSectionsets($_sSectionTabSlug), $_oFormatSectionsetsByTab->getFieldsets($_sSectionTabSlug), $_sSectionTabSlug, $this->aCallbacks);
     }
     $_oDebugInfo = new AdminPageFramework_Form_View___DebugInfo($this->aArguments['structure_type'], $this->aCallbacks, $this->oMsg);
     $_sOutput = implode(PHP_EOL, $_aOutput);
     $_sElementID = "admin-page-framework-sectionsets-" . uniqid();
     return $this->_getSpinnerOutput($_sOutput) . "<div id='{$_sElementID}' class='admin-page-framework-sctionsets admin-page-framework-form-js-on'>" . $_sOutput . AdminPageFramework_Form_View___Script_SectionTab::getEnabler() . $_oDebugInfo->get() . "</div>";
 }