class JHtmlTabs

Utility class for Tabs elements.

Methods

static  string
start( string $group = 'tabs', array $params = array())

Creates a panes and creates the JavaScript object for it.

static  string
end()

Close the current pane

static  string
panel( string $text, string $id)

Begins the display of a new panel.

Details

static string start( string $group = 'tabs', array $params = array())

Creates a panes and creates the JavaScript object for it.

Parameters

string $group The pane identifier.
array $params An array of option.

Return Value

string

static string end()

Close the current pane

Return Value

string HTML to close the pane

static string panel( string $text, string $id)

Begins the display of a new panel.

Parameters

string $text Text to display.
string $id Identifier of the panel.

Return Value

string HTML to start a new panel