Class flWidgetTabs
flWidgetTabs Class
Create and manage breadcrumb trails.
Package: fusionLib
Copyright:
Copyright (c) 2013 - 2015 fusionLib. All rights reserved.
Located at system/libs/Widget/flWidgetTabs.php
Methods summary
public
|
#
__construct( string $name )
Create the tabs widget.
Parameters
- $name
- The unique name of the widget.
|
public
flWidgetTabs
|
#
setClass( string $css )
Set the CSS class to use.
Set the CSS class to use.
Parameters
- $css
- The CSS class, default is 'tabwidget'.
Returns
|
public
flWidgetTabs
|
#
addTab( string $name, string $html )
Add a tab to the widget.
Parameters
- $name
- The name of the tab.
- $html
- The HTML for the tab
Returns
|
public
string
|
#
render( flBufferCode $codeBuffer = null )
Render the tab view.
Parameters
- $codeBuffer
- code buffer object if any.
Returns
string The HTML to render the tree.
|
Properties summary
protected
string
|
$name
|
|
protected
string
|
$css
The CSS class to apply to the table.
The CSS class to apply to the table.
|
|
protected
array
|
$tabs
|
|