trait InteractsWithRelationshipTable (View source)

Traits

Properties

string|null $activeTab from  HasTabs
protected array $cachedTabs from  HasTabs
bool $isTableLoaded from  CanDeferLoading
string|null $tableGrouping from  CanGroupRecords
string|null $tableGroupingDirection from  CanGroupRecords
int $tableRecordsPerPage from  CanPaginateRecords
protected int|string|null $defaultTableRecordsPerPageSelectOption from  CanPaginateRecords
bool $isTableReordering from  CanReorderRecords
array $tableColumnSearches from  CanSearchRecords
?string $tableSearch from  CanSearchRecords
string|null $tableSortColumn from  CanSortRecords
string|null $tableSortDirection from  CanSortRecords
array $toggledTableColumns from  CanToggleColumns
Form $toggleTableColumnForm from  CanToggleColumns
string[] $mountedTableActions from  HasActions
array<string,array<string,mixed>> $mountedTableActionsData from  HasActions
array<string,array<string,mixed>> $mountedTableActionsArguments from  HasActions
int $mountedTableActionRecord from  HasActions
protected Model|null $cachedMountedTableActionRecord from  HasActions
protected int|string|null $cachedMountedTableActionRecordKey from  HasActions
mixed $defaultTableAction from  HasActions
mixed $defaultTableActionArguments from  HasActions
mixed $defaultTableActionRecord from  HasActions
Form $mountedTableActionForm from  HasActions
array $selectedTableRecords from  HasBulkActions
string|null $mountedTableBulkAction from  HasBulkActions
array<string,mixed> $mountedTableBulkActionData from  HasBulkActions
protected Collection $cachedSelectedTableRecords from  HasBulkActions
Form $mountedTableBulkActionForm from  HasBulkActions
array<string,mixed> $tableFilters from  HasFilters
array<string,mixed> $tableDeferredFilters from  HasFilters
Form $tableFiltersForm from  HasFilters
protected bool deprecated $allowsDuplicates from  HasRecords
protected CursorPaginator|null $cachedTableRecords from  HasRecords
protected Table $table from  InteractsWithTable
protected bool $hasTableModalRendered from  InteractsWithTable
protected bool $shouldMountInteractsWithTable from  InteractsWithTable
static protected string $relationship
static protected bool $shouldCheckPolicyExistence
static protected bool $shouldSkipAuthorization

Methods

void
loadDefaultActiveTab()

No description

from  HasTabs
array
getTabs()

No description

from  HasTabs
array
getCachedTabs()

No description

from  HasTabs
string|int|null
getDefaultActiveTab()

No description

from  HasTabs
void
updatedActiveTab()

No description

from  HasTabs
string
generateTabLabel(string $key)

No description

from  HasTabs
Builder
modifyQueryWithActiveTab(Builder $query)

No description

from  HasTabs
bool
isTableStriped() deprecated

No description

bool
isTableLoadingDeferred() deprecated

No description

void
loadTable()

No description

bool
isTableLoaded()

No description

Group|null
getTableGrouping()

No description

void
updatedTableGroupColumn()

No description

string|null
getTableGroupingDirection()

No description

Builder
applyGroupingToTableQuery(Builder $query)

No description

void
updatedTableRecordsPerPage()

No description

CursorPaginator
paginateTableQuery(Builder $query)

No description

int|string|null
getTableRecordsPerPage()

No description

int
getTablePage()

No description

string
getTablePaginationPageName()

No description

string
getTablePerPageSessionKey()

No description

array|null
getTableRecordsPerPageSelectOptions() deprecated

No description

bool
isTablePaginationEnabled() deprecated

No description

string|null
getTablePollingInterval() deprecated

No description

void
reorderTable(array $order)

No description

void
toggleTableReordering()

No description

bool
isTableReordering()

No description

bool
isTablePaginationEnabledWhileReordering() deprecated

No description

string|null
getTableReorderColumn() deprecated

No description

void
updatedTableSearch()

No description

void
updatedTableColumnSearches($value = null, string|null $key = null)

No description

Builder
applySearchToTableQuery(Builder $query)

No description

Builder
applyColumnSearchesToTableQuery(Builder $query)

No description

array
extractTableSearchWords(string $search)

No description

Builder
applyGlobalSearchToTableQuery(Builder $query)

No description

string|null
getTableSearch()

No description

bool
hasTableSearch()

No description

void
resetTableSearch()

No description

void
resetTableColumnSearch(string $column)

No description

void
resetTableColumnSearches()

No description

array
array
castTableColumnSearches(array $searches)

No description

array
getTableColumnSearches()

No description

string
getTableSearchSessionKey()

No description

string
bool
shouldPersistTableSearchInSession() deprecated

No description

bool
shouldPersistTableColumnSearchInSession() deprecated

No description

void
sortTable(string|null $column = null, string|null $direction = null)

No description

string|null
getTableSortColumn()

No description

string|null
getTableSortDirection()

No description

void
updatedTableSortColumn()

No description

void
updatedTableSortDirection()

No description

Builder
applySortingToTableQuery(Builder $query)

No description

Builder
applyDefaultSortingToTableQuery(Builder $query)

No description

string|null
getDefaultTableSortColumn() deprecated

No description

string|null
getDefaultTableSortDirection() deprecated

No description

string
getTableSortSessionKey()

No description

bool
shouldPersistTableSortInSession() deprecated

No description

Builder
getAllTableSummaryQuery()

No description

Builder
getPageTableSummaryQuery()

No description

array
getTableSummarySelectedState(Builder $query, Closure|null $modifyQueryUsing = null)

No description

void
updatedToggledTableColumns()

No description

array
bool
isTableColumnToggledHidden(string $name)

No description

int|array
getTableColumnToggleFormColumns() deprecated

No description

string|null
getTableColumnToggleFormWidth() deprecated

No description

string|null
getTableColumnToggleFormMaxHeight() deprecated

No description

void
configureTableAction(Action $action)

No description

mixed
callMountedTableAction(array $arguments = [])

No description

void
mountedTableActionRecord(int|string|null $record)

No description

mixed
mountTableAction(string $name, string|null $record = null, array $arguments = [])

No description

void
replaceMountedTableAction(string $name, string|null $record = null, array $arguments = [])

No description

bool
mountedTableActionShouldOpenModal(Action|null $mountedAction = null)

No description

bool
mountedTableActionHasForm(Action|null $mountedAction = null)

No description

Action|null
getMountedTableAction()

No description

Form|null
getMountedTableActionForm(Action|null $mountedAction = null)

No description

int|string|null
Model|null
getMountedTableActionRecord()

No description

string|null
popMountedTableAction()

No description

void
void
unmountTableAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)

No description

void
cacheMountedTableActionForm(Action|null $mountedAction = null)

No description

void
closeTableActionModal()

No description

void
openTableActionModal()

No description

array
getTableActions() deprecated

No description

string|null
getTableActionsColumnLabel() deprecated

No description

void
configureTableBulkAction(BulkAction $action)

No description

mixed
callMountedTableBulkAction(array $arguments = [])

No description

mixed
mountTableBulkAction(string $name, array|null $selectedRecords = null)

No description

void
cacheMountedTableBulkActionForm(BulkAction|null $mountedBulkAction = null)

No description

void
replaceMountedTableBulkAction(string $name, array|null $selectedRecords = null)

No description

bool
mountedTableBulkActionShouldOpenModal(BulkAction|null $mountedBulkAction = null)

No description

void
unmountTableBulkAction(bool $shouldCloseModal = true)

No description

bool
mountedTableBulkActionHasForm(BulkAction|null $mountedBulkAction = null)

No description

void
deselectAllTableRecords()

No description

array
array
getGroupedSelectableTableRecordKeys(string $group)

No description

Collection
getSelectedTableRecords(bool $shouldFetchSelectedRecords = true)

No description

void
closeTableBulkActionModal()

No description

void
openTableBulkActionModal()

No description

bool
shouldSelectCurrentPageOnly() deprecated

No description

bool
shouldDeselectAllRecordsWhenTableFiltered() deprecated

No description

BulkAction|null
getMountedTableBulkAction()

No description

Form|null
getMountedTableBulkActionForm(BulkAction|null $mountedBulkAction = null)

No description

array
getTableBulkActions() deprecated

No description

Closure|null
isTableRecordSelectable() deprecated

No description

mixed
callTableColumnAction(string $name, string $recordKey)

No description

mixed
updateTableColumnState(string $column, string $record, mixed $input)

No description

array
getTableColumns() deprecated

No description

View|null
getTableContent() deprecated

No description

array|null
getTableContentGrid() deprecated

No description

View|null
getTableContentFooter() deprecated

No description

View|null
getTableEmptyState() deprecated

No description

array
getTableEmptyStateActions() deprecated

No description

string|null
getTableEmptyStateDescription() deprecated

No description

string|null
getTableEmptyStateHeading() deprecated

No description

string|null
getTableEmptyStateIcon() deprecated

No description

getTableFiltersForm()

No description

void
updatedTableFilters()

No description

void
handleTableFilterUpdates()

No description

void
removeTableFilter(string $filterName, string|null $field = null, bool $isRemovingAllFilters = false)

No description

void
removeTableFilters()

No description

void
resetTableFiltersForm()

No description

void
applyTableFilters()

No description

Builder
applyFiltersToTableQuery(Builder $query)

No description

array|null
getTableFilterState(string $name)

No description

string
parseTableFilterName(string $name)

No description

string
getTableFiltersSessionKey()

No description

array
getTableFilters() deprecated

No description

string|null
getTableFiltersFormWidth() deprecated

No description

string|null
getTableFiltersFormMaxHeight() deprecated

No description

bool
shouldPersistTableFiltersInSession() deprecated

No description

Htmlable|null
getTableDescription() deprecated

No description

Htmlable|null
getTableHeader() deprecated

No description

array
getTableHeaderActions() deprecated

No description

Htmlable|null
getTableHeading() deprecated

No description

Closure|null
getTableRecordActionUsing() deprecated

No description

string|null
getTableRecordAction() deprecated

No description

Closure|null
getTableRecordClassesUsing() deprecated

No description

Builder
getFilteredTableQuery()

No description

Builder
filterTableQuery(Builder $query)

No description

Builder
getFilteredSortedTableQuery()

No description

Builder
getTableQueryForExport()

No description

CursorPaginator
hydratePivotRelationForTableRecords(CursorPaginator $records)

No description

CursorPaginator
getTableRecords()

No description

Model|null
resolveTableRecord(string|null $key)

No description

Model|null
getTableRecord(string|null $key)

No description

string
getTableRecordKey(Model $record)

No description

int
getAllTableRecordsCount()

No description

void
flushCachedTableRecords()

No description

bool
allowsDuplicates() deprecated

No description

string|null
getTableRecordTitle(Model $record) deprecated

No description

string|null
getTableModelLabel() deprecated

No description

string|null
getTablePluralModelLabel() deprecated

No description

Closure|null
getTableRecordUrlUsing() deprecated

No description

void
bootedInteractsWithTable()

No description

void
mountInteractsWithTable()

No description

table(Table $table)

No description

getTable()

No description

makeTable()

No description

string|null
string
getIdentifiedTableQueryStringPropertyNameFor(string $property)

No description

array
getInteractsWithTableForms()

No description

string|null
getActiveTableLocale()

No description

void
resetPage(?string $pageName = null)

No description

Relation|null
getTableQuery() deprecated

No description

void
normalizeTableFilterValuesFromQueryString(array $data)

No description

void
resetTable()

No description

static void
checkPolicyExistence(bool $condition = true)

No description

static void
skipAuthorization(bool $condition = true)

No description

static bool
shouldCheckPolicyExistence()

No description

static bool
shouldSkipAuthorization()

No description

Builder
getRelationship()

No description

static string
getRelationshipName()

No description

Details

protected void loadDefaultActiveTab()

No description

Return Value

void

array getTabs()

No description

Return Value

array

array getCachedTabs()

No description

Return Value

array

string|int|null getDefaultActiveTab()

No description

Return Value

string|int|null

void updatedActiveTab()

No description

Return Value

void

string generateTabLabel(string $key)

No description

Parameters

string $key

Return Value

string

protected Builder modifyQueryWithActiveTab(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected bool isTableStriped() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

bool isTableLoadingDeferred() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

void loadTable()

No description

Return Value

void

bool isTableLoaded()

No description

Return Value

bool

Group|null getTableGrouping()

No description

Return Value

Group|null

void updatedTableGroupColumn()

No description

Return Value

void

string|null getTableGroupingDirection()

No description

Return Value

string|null

protected Builder applyGroupingToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

void updatedTableRecordsPerPage()

No description

Return Value

void

protected CursorPaginator paginateTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

CursorPaginator

int|string|null getTableRecordsPerPage()

No description

Return Value

int|string|null

int getTablePage()

No description

Return Value

int

int|string getDefaultTableRecordsPerPageSelectOption()

No description

Return Value

int|string

string getTablePaginationPageName()

No description

Return Value

string

string getTablePerPageSessionKey()

No description

Return Value

string

protected array|null getTableRecordsPerPageSelectOptions() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array|null

protected bool isTablePaginationEnabled() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

protected string|null getTablePollingInterval() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

void reorderTable(array $order)

No description

Parameters

array $order

Return Value

void

void toggleTableReordering()

No description

Return Value

void

bool isTableReordering()

No description

Return Value

bool

protected bool isTablePaginationEnabledWhileReordering() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

protected string|null getTableReorderColumn() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

void updatedTableSearch()

No description

Return Value

void

void updatedTableColumnSearches($value = null, string|null $key = null)

No description

Parameters

$value
string|null $key

Return Value

void

protected Builder applySearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyColumnSearchesToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected array extractTableSearchWords(string $search)

No description

Parameters

string $search

Return Value

array

protected Builder applyGlobalSearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

string|null getTableSearch()

No description

Return Value

string|null

bool hasTableSearch()

No description

Return Value

bool

void resetTableSearch()

No description

Return Value

void

void resetTableColumnSearch(string $column)

No description

Parameters

string $column

Return Value

void

void resetTableColumnSearches()

No description

Return Value

void

Indicator getTableSearchIndicator()

No description

Return Value

Indicator

array getTableColumnSearchIndicators()

No description

Return Value

array

protected array castTableColumnSearches(array $searches)

No description

Parameters

array $searches

Return Value

array

array getTableColumnSearches()

No description

Return Value

array

string getTableSearchSessionKey()

No description

Return Value

string

string getTableColumnSearchesSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSearchInSession() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

protected bool shouldPersistTableColumnSearchInSession() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

void sortTable(string|null $column = null, string|null $direction = null)

No description

Parameters

string|null $column
string|null $direction

Return Value

void

string|null getTableSortColumn()

No description

Return Value

string|null

string|null getTableSortDirection()

No description

Return Value

string|null

void updatedTableSortColumn()

No description

Return Value

void

void updatedTableSortDirection()

No description

Return Value

void

protected Builder applySortingToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyDefaultSortingToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected string|null getDefaultTableSortColumn() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected string|null getDefaultTableSortDirection() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

string getTableSortSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSortInSession() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

Builder getAllTableSummaryQuery()

No description

Return Value

Builder

Builder getPageTableSummaryQuery()

No description

Return Value

Builder

array getTableSummarySelectedState(Builder $query, Closure|null $modifyQueryUsing = null)

No description

Parameters

Builder $query
Closure|null $modifyQueryUsing

Return Value

array

protected array getDefaultTableColumnToggleState()

No description

Return Value

array

void updatedToggledTableColumns()

No description

Return Value

void

Form getTableColumnToggleForm()

No description

Return Value

Form

protected array getTableColumnToggleFormSchema()

No description

Return Value

array

bool isTableColumnToggledHidden(string $name)

No description

Parameters

string $name

Return Value

bool

string getTableColumnToggleFormStateSessionKey()

No description

Return Value

string

protected int|array getTableColumnToggleFormColumns() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

int|array

| array<string, int | null>

protected string|null getTableColumnToggleFormWidth() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected string|null getTableColumnToggleFormMaxHeight() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected void configureTableAction(Action $action)

No description

Parameters

Action $action

Return Value

void

mixed callMountedTableAction(array $arguments = [])

No description

Parameters

array $arguments

Return Value

mixed

void mountedTableActionRecord(int|string|null $record)

No description

Parameters

int|string|null $record

Return Value

void

mixed mountTableAction(string $name, string|null $record = null, array $arguments = [])

No description

Parameters

string $name
string|null $record
array $arguments

Return Value

mixed

void replaceMountedTableAction(string $name, string|null $record = null, array $arguments = [])

No description

Parameters

string $name
string|null $record
array $arguments

Return Value

void

bool mountedTableActionShouldOpenModal(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

bool

bool mountedTableActionHasForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

bool

Action|null getMountedTableAction()

No description

Return Value

Action|null

Form|null getMountedTableActionForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

Form|null

int|string|null getMountedTableActionRecordKey()

No description

Return Value

int|string|null

Model|null getMountedTableActionRecord()

No description

Return Value

Model|null

protected string|null popMountedTableAction()

No description

Return Value

string|null

protected void resetMountedTableActionProperties()

No description

Return Value

void

void unmountTableAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)

No description

Parameters

bool $shouldCancelParentActions
bool $shouldCloseModal

Return Value

void

protected void cacheMountedTableActionForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

void

protected void closeTableActionModal()

No description

Return Value

void

protected void openTableActionModal()

No description

Return Value

void

protected array getTableActions() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array

protected string|null getTableActionsColumnLabel() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

Infolist mountedTableActionInfolist()

No description

Return Value

Infolist

protected void configureTableBulkAction(BulkAction $action)

No description

Parameters

BulkAction $action

Return Value

void

mixed callMountedTableBulkAction(array $arguments = [])

No description

Parameters

array $arguments

Return Value

mixed

mixed mountTableBulkAction(string $name, array|null $selectedRecords = null)

No description

Parameters

string $name
array|null $selectedRecords

Return Value

mixed

protected void cacheMountedTableBulkActionForm(BulkAction|null $mountedBulkAction = null)

No description

Parameters

BulkAction|null $mountedBulkAction

Return Value

void

void replaceMountedTableBulkAction(string $name, array|null $selectedRecords = null)

No description

Parameters

string $name
array|null $selectedRecords

Return Value

void

protected void resetMountedTableBulkActionProperties()

No description

Return Value

void

bool mountedTableBulkActionShouldOpenModal(BulkAction|null $mountedBulkAction = null)

No description

Parameters

BulkAction|null $mountedBulkAction

Return Value

bool

void unmountTableBulkAction(bool $shouldCloseModal = true)

No description

Parameters

bool $shouldCloseModal

Return Value

void

bool mountedTableBulkActionHasForm(BulkAction|null $mountedBulkAction = null)

No description

Parameters

BulkAction|null $mountedBulkAction

Return Value

bool

void deselectAllTableRecords()

No description

Return Value

void

array getAllSelectableTableRecordKeys()

No description

Return Value

array

array getGroupedSelectableTableRecordKeys(string $group)

No description

Parameters

string $group

Return Value

array

int getAllSelectableTableRecordsCount()

No description

Return Value

int

Collection getSelectedTableRecords(bool $shouldFetchSelectedRecords = true)

No description

Parameters

bool $shouldFetchSelectedRecords

Return Value

Collection

protected void closeTableBulkActionModal()

No description

Return Value

void

protected void openTableBulkActionModal()

No description

Return Value

void

bool shouldSelectCurrentPageOnly() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

bool shouldDeselectAllRecordsWhenTableFiltered() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

BulkAction|null getMountedTableBulkAction()

No description

Return Value

BulkAction|null

Form|null getMountedTableBulkActionForm(BulkAction|null $mountedBulkAction = null)

No description

Parameters

BulkAction|null $mountedBulkAction

Return Value

Form|null

protected array getTableBulkActions() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array

Closure|null isTableRecordSelectable() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Closure|null

Infolist mountedTableBulkActionInfolist()

No description

Return Value

Infolist

mixed callTableColumnAction(string $name, string $recordKey)

No description

Parameters

string $name
string $recordKey

Return Value

mixed

mixed updateTableColumnState(string $column, string $record, mixed $input)

No description

Parameters

string $column
string $record
mixed $input

Return Value

mixed

protected array getTableColumns() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array

protected View|null getTableContent() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

View|null

protected array|null getTableContentGrid() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array|null

protected View|null getTableContentFooter() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

View|null

protected View|null getTableEmptyState() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

View|null

protected array getTableEmptyStateActions() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array

protected string|null getTableEmptyStateDescription() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected string|null getTableEmptyStateHeading() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected string|null getTableEmptyStateIcon() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

Form getTableFiltersForm()

No description

Return Value

Form

void updatedTableFilters()

No description

Return Value

void

protected void handleTableFilterUpdates()

No description

Return Value

void

void removeTableFilter(string $filterName, string|null $field = null, bool $isRemovingAllFilters = false)

No description

Parameters

string $filterName
string|null $field
bool $isRemovingAllFilters

Return Value

void

void removeTableFilters()

No description

Return Value

void

void resetTableFiltersForm()

No description

Return Value

void

void applyTableFilters()

No description

Return Value

void

protected Builder applyFiltersToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

array|null getTableFilterState(string $name)

No description

Parameters

string $name

Return Value

array|null

string parseTableFilterName(string $name)

No description

Parameters

string $name

Return Value

string

string getTableFiltersSessionKey()

No description

Return Value

string

protected array getTableFilters() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array

protected string|null getTableFiltersFormWidth() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected string|null getTableFiltersFormMaxHeight() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected bool shouldPersistTableFiltersInSession() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

protected Htmlable|null getTableDescription() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Htmlable|null

protected Htmlable|null getTableHeader() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Htmlable|null

protected array getTableHeaderActions() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

array

protected Htmlable|null getTableHeading() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Htmlable|null

protected Closure|null getTableRecordActionUsing() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Closure|null

protected string|null getTableRecordAction() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected Closure|null getTableRecordClassesUsing() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Closure|null

Builder getFilteredTableQuery()

No description

Return Value

Builder

Builder filterTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

Builder getFilteredSortedTableQuery()

No description

Return Value

Builder

Builder getTableQueryForExport()

No description

Return Value

Builder

protected CursorPaginator hydratePivotRelationForTableRecords(CursorPaginator $records)

No description

Parameters

CursorPaginator $records

Return Value

CursorPaginator

CursorPaginator getTableRecords()

No description

Return Value

CursorPaginator

protected Model|null resolveTableRecord(string|null $key)

No description

Parameters

string|null $key

Return Value

Model|null

Model|null getTableRecord(string|null $key)

No description

Parameters

string|null $key

Return Value

Model|null

string getTableRecordKey(Model $record)

No description

Parameters

Model $record

Return Value

string

int getAllTableRecordsCount()

No description

Return Value

int

void flushCachedTableRecords()

No description

Return Value

void

bool allowsDuplicates() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool

string|null getTableRecordTitle(Model $record) deprecated

deprecated Override the `table()` method to configure the table.

No description

Parameters

Model $record

Return Value

string|null

string|null getTableModelLabel() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

string|null getTablePluralModelLabel() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected Closure|null getTableRecordUrlUsing() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Closure|null

void bootedInteractsWithTable()

No description

Return Value

void

void mountInteractsWithTable()

No description

Return Value

void

Table table(Table $table)

No description

Parameters

Table $table

Return Value

Table

Table getTable()

No description

Return Value

Table

protected Table makeTable()

No description

Return Value

Table

protected string|null getTableQueryStringIdentifier()

No description

Return Value

string|null

string getIdentifiedTableQueryStringPropertyNameFor(string $property)

No description

Parameters

string $property

Return Value

string

protected array getInteractsWithTableForms()

No description

Return Value

array

string|null getActiveTableLocale()

No description

Return Value

string|null

void resetPage(?string $pageName = null)

No description

Parameters

?string $pageName

Return Value

void

protected Relation|null getTableQuery() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

Relation|null

protected void normalizeTableFilterValuesFromQueryString(array $data)

No description

Parameters

array $data

Return Value

void

void resetTable()

No description

Return Value

void

static void checkPolicyExistence(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

static void skipAuthorization(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

static bool shouldCheckPolicyExistence()

No description

Return Value

bool

static bool shouldSkipAuthorization()

No description

Return Value

bool

Builder getRelationship()

No description

Return Value

Builder

static string getRelationshipName()

No description

Return Value

string