AdminPageFrameworkLoader_AdminPageWelcome_Welcome::replyToLoadTab PHP Метод

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

public replyToLoadTab ( $oFactory )
    public function replyToLoadTab($oFactory)
    {
        add_action("style_{$this->sPageSlug}_{$this->sTabSlug}", array($this, 'replyToAddInlineCSS'));
        $oFactory->addSettingSections($this->sPageSlug, array('tab_slug' => $this->sTabSlug, 'section_id' => $this->sTabSlug, 'section_tab_slug' => 'welcome', 'title' => __("What's New", 'admin-page-framework-loader'), 'content' => $this->_getReadmeContents(AdminPageFrameworkLoader_Registry::$sDirPath . '/asset/text/about.txt', '', array('New Features'))), array('tab_slug' => $this->sTabSlug, 'section_tab_slug' => $this->sTabSlug, 'section_id' => 'getting_started', 'title' => __("Getting Started", 'admin-page-framework-loader'), 'content' => $this->_getReadmeContents(AdminPageFrameworkLoader_Registry::$sDirPath . '/asset/text/about.txt', "<h3>" . __('Contents', 'admin-page-framework-loader') . "</h3>", array('Getting Started', 'Tutorials'))), array('tab_slug' => $this->sTabSlug, 'section_tab_slug' => $this->sTabSlug, 'section_id' => 'change_log', 'title' => __("Change Log", 'admin-page-framework-loader'), 'content' => $this->_getChangeLog()));
        new GitHubCustomFieldType('admin_page_framework');
        $oFactory->addSettingSections($this->sPageSlug, array('section_id' => 'credit', 'tab_slug' => $this->sTabSlug, 'section_tab_slug' => $this->sTabSlug, 'title' => __('Credit', 'admin-page-framework-loader')));
        $oFactory->addSettingFields('credit', array('field_id' => '_message', 'type' => '_message', 'show_title_column' => false, 'content' => "<p class='about-description'>" . __('Admin Page Framework is created by the following contributors.', 'admin-page-framework-loader') . "</p>"), array('field_id' => '_contributors', 'type' => '_contributors', 'show_title_column' => false, 'content' => $this->_getContributors()), array('field_id' => 'github_star', 'type' => 'github', 'user_name' => 'michaeluno', 'button_type' => 'star', 'count' => false, 'repository' => 'admin-page-framework', 'size' => 'mega', 'attributes' => array('data-text' => ' ' . AdminPageFramework_Registry::NAME . ' ' . AdminPageFramework_Registry::getVersion() . ' '), 'description' => __('Star the repository and get Involved!', 'admin-page-framework-loader'), 'show_title_column' => false));
    }