Description
Implement nav tab sections for admin pagesHaving selected a particular admin page the user then selects a particular tab and within that there may be multiple sections. Query parms are:
- page=
- tab=
- section=
Usage
bw_nav_tabs_section_list( $default_section, $default_label );Parameters
- $default_section
- ( mixed ) optional –
- $default_label
- ( mixed ) optional –
Returns
voidSource
File name: oik-clone/admin/bw-nav-tab-sections.phpLines:
1 to 9 of 9
function bw_nav_tabs_section_list( $default_section=null, $default_label=null ) { $bw_nts = bw_nav_tabs_sections(); $bw_nts->defaults( $default_section, $default_label ); $bw_nts->section(); $bw_nts->sections(); $section = $bw_nts->validate_section(); $section = $bw_nts->list_sections(); return( $section ); }View on GitHub
Invoked by
Calls
1 to 6 of 6
- bw_nav_tabs_sections() – Return the main instance of BW_Nav_Tabs_Sections classs
- BW_Nav_Tabs_Sections::defaults() –
- BW_Nav_Tabs_Sections::list_sections() – List the sections for the active page & tab
- BW_Nav_Tabs_Sections::section() –
- BW_Nav_Tabs_Sections::sections() –
- BW_Nav_Tabs_Sections::validate_section() – Pseudo validation of the section
Call hooks
API Letters:
