A simple convenience class for creating a tabbed interface in the CMSMS admin console
package |
CMS |
---|---|
license |
GPL |
since | 2.0 |
author |
Robert Campbell |
set_current_tab(string $tab)
string
$tabThe param key
start_tab_headers() : string
string
set_tab_header(string $tabid, string $title, boolean $active = FALSE) : string
string
$tabidThe tab key
string
$titleThe title to display in the tab
boolean
$activeWether the tab is active or not. If the current active tag matches the $tabid then the tab will be marked as active.
string
end_tab_headers() : string
string
start_tab_content() : string
string
end_tab_content() : string
string
start_tab(string $tabid, array $params = array()) : string
string
$tabidThe tab key
array
$paramsArray of parameters for the tab
string
end_tab() : string
string