trait HasRecords (View source)

Properties

protected bool deprecated $allowsDuplicates
protected CursorPaginator|null $cachedTableRecords

Methods

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

Details

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