cms_admin_tabs View code

A simple convenience class for creating a tabbed interface in the CMSMS admin console

package

CMS

license

GPL

since 2.0
author

Robert Campbell

Methods

set_current_tab(string $tab) 

Set the current active tab

static

Arguments

string $tab

The param key

start_tab_headers() : string

Begin output of tab headers

static

Response

string

set_tab_header(string $tabid, string $title, boolean $active = FALSE) : string

Create a tab header

static

Arguments

string $tabid

The tab key

string $title

The title to display in the tab

boolean $active

Wether the tab is active or not. If the current active tag matches the $tabid then the tab will be marked as active.

Response

string

end_tab_headers() : string

Finish outputting tab headers

static

Response

string

start_tab_content() : string

Start the content portion of the tabbed layout

static

Response

string

end_tab_content() : string

Finish the content portion of the tabbed layout

static

Response

string

start_tab(string $tabid, array $params = array()) : string

Start the content portion of a specific tab

static

Arguments

string $tabid

The tab key

array $params

Array of parameters for the tab

Response

string

end_tab() : string

End the content portion of a single tab

static

Response

string