HasRecords
trait HasRecords (View source)
Properties
protected bool|Closure | $allowsDuplicates | ||
protected string|Closure|null | $modelLabel | ||
protected string|Closure|null | $pluralModelLabel | ||
protected string|Closure|null | $recordTitle | ||
protected string|Closure|null | $recordTitleAttribute |
Methods
allowDuplicates(bool|Closure $condition = true)
No description
modelLabel(string|Closure|null $label)
No description
pluralModelLabel(string|Closure|null $label)
No description
recordTitle(string|Closure|null $title)
No description
recordTitleAttribute(string|Closure|null $attribute)
No description
CursorPaginator
getRecords()
No description
string
getRecordKey(Model $record)
No description
string
getModel()
No description
bool
allowsDuplicates()
No description
string
getModelLabel()
No description
string
getPluralModelLabel()
No description
string
getRecordTitle(Model $record)
No description
bool
hasCustomRecordTitle()
No description
string|null
getRecordTitleAttribute()
No description
Details
HasRecords
allowDuplicates(bool|Closure $condition = true)
No description
HasRecords
modelLabel(string|Closure|null $label)
No description
HasRecords
pluralModelLabel(string|Closure|null $label)
No description
HasRecords
recordTitle(string|Closure|null $title)
No description
HasRecords
recordTitleAttribute(string|Closure|null $attribute)
No description
CursorPaginator
getRecords()
No description
string
getRecordKey(Model $record)
No description
string
getModel()
No description
bool
allowsDuplicates()
No description
string
getModelLabel()
No description
string
getPluralModelLabel()
No description
string
getRecordTitle(Model $record)
No description
bool
hasCustomRecordTitle()
No description
string|null
getRecordTitleAttribute()
No description