AdminPageFrameworkLoader_AdminPage_Help_FAQ::replyToLoadTab PHP Метод

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

Triggered when the tab is loaded.
public replyToLoadTab ( $oAdminPage )
    public function replyToLoadTab($oAdminPage)
    {
        $_aSections = $this->getContentsByHeader($this->getFAQContents(), 4);
        foreach ($_aSections as $_iIndex => $_aContent) {
            $_sTitle = $_aContent[0];
            $_sContent = $this->_getFAQSubSections($_aContent[1]);
            if (in_array($_sTitle, array('Tutorials'))) {
                continue;
            }
            $oAdminPage->addSettingSections($this->sPageSlug, array('section_id' => 'faq_sections_' . $_iIndex, 'tab_slug' => $this->sTabSlug, 'section_tab_slug' => 'apf_faq', 'title' => $_sTitle, 'content' => $_sContent));
        }
    }
AdminPageFrameworkLoader_AdminPage_Help_FAQ