class Tab

Properties

protected Form $form
protected Collection $tabs
protected int $offset

Methods

__construct(Form $form)

Tab constructor.

$this
append(string $title, Closure $content, bool $active = false)

Append a tab section.

Collection
collectFields(Closure $content)

Collect fields under current tab.

Collection
getTabs()

Get all tabs.

bool
isEmpty()

No description

Details

at line 30
__construct(Form $form)

Tab constructor.

Parameters

Form $form

at line 46
$this append(string $title, Closure $content, bool $active = false)

Append a tab section.

Parameters

string $title
Closure $content
bool $active

Return Value

$this

at line 64
protected Collection collectFields(Closure $content)

Collect fields under current tab.

Parameters

Closure $content

Return Value

Collection

at line 105
Collection getTabs()

Get all tabs.

Return Value

Collection

at line 123
bool isEmpty()

No description

Return Value

bool