public function get()
 {
     $_aSection = $this->uniteArrays(array('_fields_type' => $this->sFieldsType) + $this->aSection + array('capability' => $this->sCapability), self::$aStructure);
     $_aSection['order'] = $this->getAOrB(is_numeric($_aSection['order']), $_aSection['order'], $this->iCountOfElements + 10);
     $_oCollapsibleArgumentFormatter = new AdminPageFramework_Format_CollapsibleSection($_aSection['collapsible'], $_aSection['title']);
     $_aSection['collapsible'] = $_oCollapsibleArgumentFormatter->get();
     $_aSection['class'] = $this->getAsArray($_aSection['class']);
     $_aSection['_caller_object'] = $this->oCaller;
     return $_aSection;
 }
 private function _getCaption(array $aSection, $hfSectionCallback, $iSectionIndex, $aFields, $hfFieldCallback, $aFieldErrors, $aFieldTypeDefinitions, $oMsg)
 {
     if (!$aSection['description'] && !$aSection['title']) {
         return "<caption class='admin-page-framework-section-caption' style='display:none;'></caption>";
     }
     $_oArgumentFormater = new AdminPageFramework_Format_CollapsibleSection($aSection['collapsible'], $aSection['title'], $aSection);
     $_abCollapsible = $_oArgumentFormater->get();
     $_oCollapsibleSectionTitle = new AdminPageFramework_FormPart_CollapsibleSectionTitle(isset($_abCollapsible['title']) ? $_abCollapsible['title'] : $aSection['title'], 'h3', $aFields, $hfFieldCallback, $iSectionIndex, $aFieldTypeDefinitions, $_abCollapsible, 'section', $oMsg);
     $_bShowTitle = empty($_abCollapsible) && !$aSection['section_tab_slug'];
     return "<caption " . $this->getAttributes(array('class' => 'admin-page-framework-section-caption', 'data-section_tab' => $aSection['section_tab_slug'])) . ">" . $_oCollapsibleSectionTitle->get() . $this->getAOrB($_bShowTitle, $this->_getCaptionTitle($aSection, $iSectionIndex, $aFields, $hfFieldCallback, $aFieldTypeDefinitions), '') . $this->_getCaptionDescription($aSection, $hfSectionCallback) . $this->_getSectionError($aSection, $aFieldErrors) . "</caption>";
 }
 protected function _getCollapsibleArgumentForSections(array $aSection = array())
 {
     $_oArgumentFormater = new AdminPageFramework_Format_CollapsibleSection($aSection['collapsible'], $aSection['title'], $aSection);
     $_aCollapsible = $this->getAsArray($_oArgumentFormater->get());
     return isset($_aCollapsible['container']) && 'sections' === $_aCollapsible['container'] ? $_aCollapsible : array();
 }