AdminPageFramework_Form_View___DebugInfo::get PHP Method

get() public method

public get ( )
    public function get()
    {
        if (!$this->_shouldProceed()) {
            return '';
        }
        return "<div class='admin-page-framework-info'>" . $this->oMsg->get('debug_info') . ': ' . $this->getFrameworkNameVersion() . "</div>";
    }

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>";
 }
AdminPageFramework_Form_View___DebugInfo