InteractsWithRecord
trait InteractsWithRecord (View source)
Properties
protected Model|Closure|null | $record | ||
protected string|Closure|null | $model | ||
protected string|Closure|null | $modelLabel | ||
protected string|Closure|null | $pluralModelLabel | ||
protected string|Closure|null | $recordTitle |
Methods
record(Model|Closure|null $record)
No description
model(string|Closure|null $model)
No description
modelLabel(string|Closure|null $label)
No description
pluralModelLabel(string|Closure|null $label)
No description
recordTitle(string|Closure|null $title)
No description
Model|null
getRecord()
No description
string|null
getRecordTitle(Model|null $record = null)
No description
string|null
getCustomRecordTitle(Model|null $record = null)
No description
string|null
getModel()
No description
string|null
getCustomModel()
No description
string|null
getModelLabel()
No description
string|null
getCustomModelLabel()
No description
string|null
getPluralModelLabel()
No description
string|null
getCustomPluralModelLabel()
No description
array
parseAuthorizationArguments(array $arguments)
No description
Details
InteractsWithRecord
record(Model|Closure|null $record)
No description
InteractsWithRecord
model(string|Closure|null $model)
No description
InteractsWithRecord
modelLabel(string|Closure|null $label)
No description
InteractsWithRecord
pluralModelLabel(string|Closure|null $label)
No description
InteractsWithRecord
recordTitle(string|Closure|null $title)
No description
Model|null
getRecord()
No description
string|null
getRecordTitle(Model|null $record = null)
No description
string|null
getCustomRecordTitle(Model|null $record = null)
No description
string|null
getModel()
No description
string|null
getCustomModel()
No description
string|null
getModelLabel()
No description
string|null
getCustomModelLabel()
No description
string|null
getPluralModelLabel()
No description
string|null
getCustomPluralModelLabel()
No description
protected array
parseAuthorizationArguments(array $arguments)
No description