class Table extends ViewComponent (View source)

Traits

Constants

LOADING_TARGETS

Properties

static protected array $configurations from  Configurable
static protected array $importantConfigurations from  Configurable
protected string $evaluationIdentifier from  EvaluatesClosures
protected array $evaluationParametersToRemove from  EvaluatesClosures
protected string $view
protected array $viewData from  ViewComponent
protected string $viewIdentifier
static protected array $propertyCache from  ViewComponent
static protected array $methodCache from  ViewComponent
protected HasTable $livewire from  BelongsToLivewire

Methods

static 
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)

No description

configure()

No description

void
setUp()

No description

evaluate($value, array $parameters = [], array $exceptParameters = [])

No description

array
resolveEvaluationParameter(string $parameter, Closure $value)

No description

bool
isEvaluationParameterRemoved(string $parameter)

No description

view(string $view, array $viewData = [])

No description

array
extractPublicProperties()

No description

array
extractPublicMethods()

No description

viewData(array $data)

No description

string
getView()

No description

string
toHtml()

No description

View
render()

No description

livewire(HasTable $livewire)

No description

getLivewire()

No description

__construct(HasTable $livewire)

No description

static Table
make(HasTable $livewire)

No description

array
getActions()

No description

string
getActionsPosition()

No description

string|null
getActionsColumnLabel()

No description

int
getAllSelectableRecordsCount()

No description

array
getBulkActions()

No description

array
getColumns()

No description

array
getColumnsLayout()

No description

Component|null
getCollapsibleColumnsLayout()

No description

bool
hasColumnsLayout()

No description

View|null
getContent()

No description

array|null
getContentGrid()

No description

View|null
getContentFooter()

No description

Htmlable|null
getDescription()

No description

View|null
getEmptyState()

No description

array
getEmptyStateActions()

No description

string|null
getEmptyStateDescription()

No description

string
getEmptyStateHeading()

No description

string
getEmptyStateIcon()

No description

array
getFilters()

No description

string|null
getFiltersFormMaxHeight()

No description

string|null
getFiltersFormWidth()

No description

string
getFiltersLayout()

No description

string|null
getColumnToggleFormMaxHeight()

No description

string|null
getColumnToggleFormWidth()

No description

Htmlable|null
getHeader()

No description

array
getHeaderActions()

No description

Htmlable|null
getHeading()

No description

string
getModel()

No description

Action|null
getMountedAction()

No description

getMountedActionRecordKey()

No description

ComponentContainer|null
getMountedActionForm()

No description

BulkAction|null
getMountedBulkAction()

No description

ComponentContainer|null
getMountedBulkActionForm()

No description

Paginator
getRecords()

No description

array
string|null
getRecordAction(Model $record)

No description

array
getRecordClasses(Model $record)

No description

string|null
getRecordUrl(Model $record)

No description

bool
isRecordSelectable(Model $record)

No description

string|null
getReorderColumn()

No description

bool
isReorderable()

No description

bool
isReordering()

No description

string|null
getSortColumn()

No description

string|null
getSortDirection()

No description

bool
isFilterable()

No description

bool
isPaginationEnabled()

No description

bool
isSelectionEnabled()

No description

bool
isSearchable()

No description

string
getRecordCheckboxPosition()

No description

bool
isSearchableByColumn()

No description

bool
hasToggleableColumns()

No description

string
getRecordKey(Model $record)

No description

string|null
getPollingInterval()

No description

bool
isStriped()

No description

bool
isLoaded()

No description

bool
hasColumnSearches()

No description

Details

static configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)

No description

Parameters

Closure $callback
Closure|null $during
bool $isImportant

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

evaluate($value, array $parameters = [], array $exceptParameters = [])

No description

Parameters

$value
array $parameters
array $exceptParameters

protected array getDefaultEvaluationParameters()

No description

Return Value

array

protected resolveEvaluationParameter(string $parameter, Closure $value)

No description

Parameters

string $parameter
Closure $value

protected bool isEvaluationParameterRemoved(string $parameter)

No description

Parameters

string $parameter

Return Value

bool

ViewComponent view(string $view, array $viewData = [])

No description

Parameters

string $view
array $viewData

Return Value

ViewComponent

protected array extractPublicProperties()

No description

Return Value

array

protected array extractPublicMethods()

No description

Return Value

array

ViewComponent viewData(array $data)

No description

Parameters

array $data

Return Value

ViewComponent

string getView()

No description

Return Value

string

string toHtml()

No description

Return Value

string

View render()

No description

Return Value

View

BelongsToLivewire livewire(HasTable $livewire)

No description

Parameters

HasTable $livewire

Return Value

BelongsToLivewire

HasTable getLivewire()

No description

Return Value

HasTable

final __construct(HasTable $livewire)

No description

Parameters

HasTable $livewire

static Table make(HasTable $livewire)

No description

Parameters

HasTable $livewire

Return Value

Table

array getActions()

No description

Return Value

array

string getActionsPosition()

No description

Return Value

string

string|null getActionsColumnLabel()

No description

Return Value

string|null

int getAllSelectableRecordsCount()

No description

Return Value

int

array getBulkActions()

No description

Return Value

array

array getColumns()

No description

Return Value

array

array getColumnsLayout()

No description

Return Value

array

Component|null getCollapsibleColumnsLayout()

No description

Return Value

Component|null

bool hasColumnsLayout()

No description

Return Value

bool

View|null getContent()

No description

Return Value

View|null

array|null getContentGrid()

No description

Return Value

array|null

View|null getContentFooter()

No description

Return Value

View|null

Htmlable|null getDescription()

No description

Return Value

Htmlable|null

View|null getEmptyState()

No description

Return Value

View|null

array getEmptyStateActions()

No description

Return Value

array

string|null getEmptyStateDescription()

No description

Return Value

string|null

string getEmptyStateHeading()

No description

Return Value

string

string getEmptyStateIcon()

No description

Return Value

string

array getFilters()

No description

Return Value

array

ComponentContainer getFiltersForm()

No description

Return Value

ComponentContainer

string|null getFiltersFormMaxHeight()

No description

Return Value

string|null

string|null getFiltersFormWidth()

No description

Return Value

string|null

string getFiltersLayout()

No description

Return Value

string

ComponentContainer getColumnToggleForm()

No description

Return Value

ComponentContainer

string|null getColumnToggleFormMaxHeight()

No description

Return Value

string|null

string|null getColumnToggleFormWidth()

No description

Return Value

string|null

Htmlable|null getHeader()

No description

Return Value

Htmlable|null

array getHeaderActions()

No description

Return Value

array

Htmlable|null getHeading()

No description

Return Value

Htmlable|null

string getModel()

No description

Return Value

string

Action|null getMountedAction()

No description

Return Value

Action|null

getMountedActionRecordKey()

No description

ComponentContainer|null getMountedActionForm()

No description

Return Value

ComponentContainer|null

BulkAction|null getMountedBulkAction()

No description

Return Value

BulkAction|null

ComponentContainer|null getMountedBulkActionForm()

No description

Return Value

ComponentContainer|null

Paginator getRecords()

No description

Return Value

Paginator

array getRecordsPerPageSelectOptions()

No description

Return Value

array

string|null getRecordAction(Model $record)

No description

Parameters

Model $record

Return Value

string|null

array getRecordClasses(Model $record)

No description

Parameters

Model $record

Return Value

array

string|null getRecordUrl(Model $record)

No description

Parameters

Model $record

Return Value

string|null

bool isRecordSelectable(Model $record)

No description

Parameters

Model $record

Return Value

bool

string|null getReorderColumn()

No description

Return Value

string|null

bool isReorderable()

No description

Return Value

bool

bool isReordering()

No description

Return Value

bool

string|null getSortColumn()

No description

Return Value

string|null

string|null getSortDirection()

No description

Return Value

string|null

bool isFilterable()

No description

Return Value

bool

bool isPaginationEnabled()

No description

Return Value

bool

bool isSelectionEnabled()

No description

Return Value

bool

bool isSearchable()

No description

Return Value

bool

string getRecordCheckboxPosition()

No description

Return Value

string

bool isSearchableByColumn()

No description

Return Value

bool

bool hasToggleableColumns()

No description

Return Value

bool

string getRecordKey(Model $record)

No description

Parameters

Model $record

Return Value

string

string|null getPollingInterval()

No description

Return Value

string|null

bool isStriped()

No description

Return Value

bool

bool isLoaded()

No description

Return Value

bool

bool hasColumnSearches()

No description

Return Value

bool