PHP Class View_Tabs_jUItabs, atk4

Use: $tabs=$this->add('Tabs'); $tabs->addTab('Tab1')->add('LoremIpsum'); $tabs->addTabURL('./details','Details'); // AJAX tab
Inheritance: extends View_Tabs
ファイルを表示 Open project: atk4/atk4

Public Properties

Property Type Description
$options array
$position string
$show_loader boolean Should we show loader indicator while loading tabs
$tab_template Template

Public Methods

Method Description
addTab ( $title, $name = null ) * Add tab and returns it so that you can add static content
addTabURL ( $page, $title = null ) * Add tab which loads dynamically. Returns $this for chaining
defaultTemplate ( )
init ( ) Initialization
render ( )
setOption ( $key, $value ) * Set tabs option, for example, 'active'=>'zero-based index of tab
toBottom ( )
toLeft ( )
toRight ( )

Method Details

addTab() public method

* Add tab and returns it so that you can add static content
public addTab ( $title, $name = null )

addTabURL() public method

* Add tab which loads dynamically. Returns $this for chaining
public addTabURL ( $page, $title = null )

defaultTemplate() public method

public defaultTemplate ( )

init() public method

Initialization
public init ( )

render() public method

public render ( )

setOption() public method

* Set tabs option, for example, 'active'=>'zero-based index of tab
public setOption ( $key, $value )

toBottom() public method

public toBottom ( )

toLeft() public method

public toLeft ( )

toRight() public method

public toRight ( )

Property Details

$options public_oe property

public array $options
return array

$position public_oe property

public string $position
return string

$show_loader public_oe property

Should we show loader indicator while loading tabs
public bool $show_loader
return boolean

$tab_template public_oe property

public Template $tab_template
return Template