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>";
}
public function get() { $_aArguments = func_get_args() + array(false); $bEditTerm = $_aArguments[0]; $this->sCapability = $this->callback($this->aCallbacks['capability'], ''); if (!$this->canUserView($this->sCapability)) { return ''; } $this->_formatElementDefinitions($this->aSavedData); new AdminPageFramework_Form_View___Script_Form(); $_oFormTables = new AdminPageFramework_Form_View___Sectionsets(array('capability' => $this->sCapability) + $this->aArguments, array('field_type_definitions' => $this->aFieldTypeDefinitions, 'sectionsets' => $this->aSectionsets, 'fieldsets' => $this->aFieldsets), $this->aSavedData, $this->getFieldErrors(), $this->aCallbacks, $this->oMsg); $_sAddNewTerm = $bEditTerm ? '' : ' add-new-term'; $_sClassSelectors = 'admin-page-framework-form-table-term_meta' . $_sAddNewTerm; return '<tr class="admin-page-framework-form-table-outer-row-term_meta">' . '<td colspan=2>' . '<table class="' . $_sClassSelectors . '">' . '<tbody>' . '<tr>' . '<td>' . $_oFormTables->get() . '</td>' . '</tr>' . '</tbody>' . '</table>' . '</td>' . '</tr>'; }