public function getFormTables($aSections, $aFieldsInSections, $hfSectionCallback, $hfFieldCallback)
 {
     $_sFieldsType = $this->_getSectionsFieldsType($aSections);
     $this->_divideElementsBySectionTabs($aSections, $aFieldsInSections);
     $_aOutput = array();
     foreach ($aSections as $_sSectionTabSlug => $_aSectionsBySectionTab) {
         $_aOutput[] = $this->_getFormTable($aFieldsInSections, $_sSectionTabSlug, $_aSectionsBySectionTab, $hfSectionCallback, $hfFieldCallback);
     }
     $_oDebugInfo = new AdminPageFramework_FormPart_DebugInfo($_sFieldsType);
     return implode(PHP_EOL, $_aOutput) . AdminPageFramework_Script_Tab::getEnabler() . $_oDebugInfo->get();
 }
    public static function getEnabler()
    {
        if (self::$_bLoadedTabEnablerScript) {
            return '';
        }
        self::$_bLoadedTabEnablerScript = true;
        new self();
        $_sScript = <<<JAVASCRIPTS
jQuery( document ).ready( function() {
// the parent element of the ul tag; The ul element holds li tags of titles.
jQuery( '.admin-page-framework-section-tabs-contents' ).createTabs(); 
});            
JAVASCRIPTS;
        return "<script type='text/javascript' class='admin-page-framework-section-tabs-script'>" . $_sScript . "</script>";
    }