This class is used for creating a tab panel of content where the tabs can be switched on the fly w/ JS, thereby eliminating a page turn to see the other tab's content.
Located in /widgets/ActiveTab.inc (line 20)
Container | --BaseWidget | --ActiveTab
Random string for function prefix
allows having multiple controls on same page
The hidden tab's background color
The active tab's background color
The default selected tab this is a tab name
ActiveTab::name("Title of Tab");
Inherited from BaseWidget
BaseWidget::$title
BaseWidget::$width
BaseWidget::$_image_prefix
This is the constructor for the ActiveTab object.
Add a tab
- should this tab be the default selected tab?
Note: This will override the selected tab parameter in the constructor.
This function MUST be called AFTER ALL content has been added, in order for the js to work properly
Thie method is used to change the hidden tab's
background color
Build the 'name' of the tab. This can be called in a static way to set the default selected tab.
Thie method is used to change the selected tab's
background color
Inherited From BaseWidget
BaseWidget::get_align()
BaseWidget::get_css()
BaseWidget::get_javascript()
BaseWidget::get_title()
BaseWidget::get_width()
BaseWidget::set_align()
BaseWidget::set_image_path_prefix()
BaseWidget::set_title()
BaseWidget::set_width()
Inherited From Container
Container::Container()
Container::add()
Container::add_reference()
Container::count_content()
Container::get_element()
Container::get_indent_flag()
Container::push()
Container::push_reference()
Container::render()
Container::reset_content()
Container::set_collapse()
Container::set_indent_flag()
Documentation generated on Fri, 28 Jan 2011 08:52:36 -0500 by phpDocumentor 1.4.3