Backend\Classes\FormTabs

Overview

FormTabs is a fieldset definition for backend tabs

Extends
Implements
  • Traversable
  • IteratorAggregate
  • JsonSerializable
  • Illuminate\Contracts\Support\Jsonable
  • ArrayAccess
  • Illuminate\Contracts\Support\Arrayable

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public addAdaptive()

public addAdaptive($tabName): void

addAdaptive flags a tab to use adaptive sizing

public addIdentifier()

public addIdentifier($tabName, $identifier): void

addIdentifier adds a new API identifier for the specified tab

public addLazy()

public addLazy($tabName): void

addLazy flags a tab to be lazy loaded

public evalConfig()

public evalConfig($config): void

public getIcon()

public getIcon(string $name): string 

getIcon returns an icon for the tab based on the tab's name

public getIdentifier()

public getIdentifier($tabName): string|null 

getIdentifier returns an API identifier for the specified tab

public getPaneAnchorId()

public getPaneAnchorId($index = null, $label = null): string 

getPaneAnchorId returns a value suitable for the pane id property.

public getPaneCssClass()

public getPaneCssClass(
    string $index = null,
    string $label = null
): string 

getPaneCssClass returns a tab pane CSS class

public getPaneId()

public getPaneId($tabName): void

public getTabId()

public getTabId($tabName): void

public isAdaptive()

public isAdaptive($tabName): bool 

isAdaptive checks if a tab uses adaptive sizing

public isLazy()

public isLazy($tabName): bool 

isLazy checks if a tab should be lazy loaded

public isPaneActive()

public isPaneActive($index = null, $label = null): bool 

isPaneActive returns a tab pane CSS class

public setPaneCssClass()

public setPaneCssClass($tabNameOrIndex, $cssClass, $overwrite = false): void

setPaneCssClass appends a CSS class to the tab pane

Show inherited public methods

Inherited Public Methods

Protected Methods

protected initDefaultValues()

protected initDefaultValues(): void

initDefaultValues for this scope

Show inherited protected methods

Inherited Protected Methods