trait HasRecords (View source)

Properties

protected bool $allowsDuplicates
protected Paginator|null $records

Methods

bool
allowsDuplicates()

No description

Builder
getFilteredTableQuery()

No description

Paginator
hydratePivotRelationForTableRecords(Paginator $records)

No description

Paginator
getTableRecords()

No description

Model|null
resolveTableRecord(string|null $key)

No description

string
getTableModel()

No description

Model|null
getTableRecord(string|null $key)

No description

string
getTableRecordKey(Model $record)

No description

string
getTableRecordTitle(Model $record)

No description

string
getTableModelLabel()

No description

string
getTablePluralModelLabel()

No description

Details

bool allowsDuplicates()

No description

Return Value

bool

protected Builder getFilteredTableQuery()

No description

Return Value

Builder

protected Paginator hydratePivotRelationForTableRecords(Paginator $records)

No description

Parameters

Paginator $records

Return Value

Paginator

Paginator getTableRecords()

No description

Return Value

Paginator

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

No description

Parameters

string|null $key

Return Value

Model|null

string getTableModel()

No description

Return Value

string

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

string getTableRecordTitle(Model $record)

No description

Parameters

Model $record

Return Value

string

string getTableModelLabel()

No description

Return Value

string

string getTablePluralModelLabel()

No description

Return Value

string