AdminPageFramework_Form_View___CollapsibleSectionTitle::get PHP Метод

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

public get ( )
    public function get()
    {
        if (empty($this->aArguments['collapsible'])) {
            return '';
        }
        return $this->_getCollapsibleSectionTitleBlock($this->aArguments['collapsible'], $this->aArguments['container_type'], $this->aArguments['section_index']);
    }

Usage Example

 private function _getCaption(array $aSectionset, $iSectionIndex, $aFieldsets, $aFieldErrors, $aFieldTypeDefinitions, $aCallbacks, $oMsg)
 {
     if (!$aSectionset['description'] && !$aSectionset['title']) {
         return "<caption class='admin-page-framework-section-caption' style='display:none;'></caption>";
     }
     $_oArgumentFormater = new AdminPageFramework_Form_Model___Format_CollapsibleSection($aSectionset['collapsible'], $aSectionset['title'], $aSectionset);
     $_abCollapsible = $_oArgumentFormater->get();
     $_oCollapsibleSectionTitle = new AdminPageFramework_Form_View___CollapsibleSectionTitle(array('title' => $this->getElement($_abCollapsible, 'title', $aSectionset['title']), 'tag' => 'h3', 'section_index' => $iSectionIndex, 'collapsible' => $_abCollapsible, 'container_type' => 'section', 'sectionset' => $aSectionset), $aFieldsets, $this->aSavedData, $this->aFieldErrors, $aFieldTypeDefinitions, $oMsg, $aCallbacks);
     $_bShowTitle = empty($_abCollapsible) && !$aSectionset['section_tab_slug'];
     return "<caption " . $this->getAttributes(array('class' => 'admin-page-framework-section-caption', 'data-section_tab' => $aSectionset['section_tab_slug'])) . ">" . $_oCollapsibleSectionTitle->get() . $this->getAOrB($_bShowTitle, $this->_getCaptionTitle($aSectionset, $iSectionIndex, $aFieldsets, $aFieldTypeDefinitions), '') . $this->_getCaptionDescription($aSectionset, $aCallbacks['section_head_output']) . $this->_getSectionError($aSectionset, $aFieldErrors) . "</caption>";
 }
All Usage Examples Of AdminPageFramework_Form_View___CollapsibleSectionTitle::get
AdminPageFramework_Form_View___CollapsibleSectionTitle