/**
* Triggered when the tab is loaded.
*/
public function replyToLoadTab($oAdminPage)
{
new GitHubCustomFieldType('admin_page_framework');
$oAdminPage->addSettingSections($this->sPageSlug, array('section_id' => $this->sSectionID, 'tab_slug' => $this->sTabSlug));
$oAdminPage->addSettingFields($this->sSectionID, 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-demo'), 'show_title_column' => false));
add_action('do_form_' . $this->sPageSlug . '_' . $this->sTabSlug, array($this, 'replyToDoTabBeforeForm'));
}