Description
List the sections for the active page & tab
Usage
BW_Nav_Tabs_Sections::list_sections();Parameters
Returns
voidSource
File name: oik-clone/admin/bw-nav-tab-sections.phpLines:
1 to 18 of 18
public function list_sections() { sul( "subsubsub" ); $count = 1; $last = count( $this->sections ); bw_trace2( $this->sections, "nav-tab_sections" ); foreach ( $this->sections as $nav_tab_section => $nav_tab_section_label ) { stag( "li" ); bw_nav_tabs_section_link( $nav_tab_section, $nav_tab_section_label, $this->page, $this->tab, $this->section ); if ( $count < $last ) { e( " | " ); } $count++; etag( "li" ); } eul(); sediv( "cleared clear" ); return( $this->section ); }View on GitHub
Invoked by
Calls
1 to 11 of 11
- BW_Nav_Tabs_Sections::page() –
- BW_Nav_Tabs_Sections::section() –
- BW_Nav_Tabs_Sections::sections() –
- BW_Nav_Tabs_Sections::tab() –
- bw_nav_tabs_section_link() – Build a nav tab section link
- bw_trace2() – Trace $value to the trace log file if tracing is active
- etag() – Output an end tag
- eul() – End an unordered list
- sediv() – Create a dummy div which may be used for placing graphics using background images in CSS
- stag() – Output an HTML opening tag
- sul() – Start an unordered list
Call hooks
API Letters:
