Its a tab that will display in the setting sections. The setting tab follow the same logic as the Tab api.
In your plug-in configuration file add a Setting Tab object to the ArrayIterator $GLOBALS['cfg_setting_tab_placement']
// Hook to display the tab Settings. $GLOBALS['cfg_setting_tab_placement']->append(new TabSetting("SamplePlugIn")); $GLOBALS['cfg_setting_tab_placement']->next(); $GLOBALS['cfg_setting_tab_placement']->current() ->setTabName("Sample Plugin Setting") ->setTitle("Sample Plug In Setting or configuration sample") ->setPages(Array ("SettingContentSample")) ->setDefaultPage("SettingContentSample");
The TabSetting constructor accept the plugin name as a parameter. setTabName() will set the name of the tab, its also the name displayed. setTitle() will display the purple title for the user to identify on which page or type of setting he is. setPages() are the different pages that will be display under that tab. (needed for the tab to stay highlighted.) setDefaultPage() its the page the users will arrive on when they click on the tab.
You can access your setting tab with a URL like:
/Setting/pluginName/ContentPage /Setting/SamplePlugIn/SettingContentSample
The ContentPage or the SettingContentSample are in your plugin folder as
/plugin/pluginName/ContentPage.php /plugin/SamplePlugIn/SettingContentSample.php