FederatedSearchModel
class FederatedSearchModel extends Model
Traits
Properties
protected array | $casts | The attributes that should be casted to native types. |
Methods
Set a dynamic JSON attribute.
Get a dynamic JSON attribute.
Scope a query to all models that represent label trees.
Scope a query to all models that represent projects.
Scope a query to all models that represent volumes.
The instance, this model belongs to.
The users who can access this model.
Set the model thumbnail url attribute.
Get the model thumbnail url attribute.
Set the model thumbnail urls attribute.
Get the model thumbnail url attribute.
Details
in
HasJsonAttributes at line 16
protected
setJsonAttr(string $key, mixed $value, string $attrs = 'attrs')
Set a dynamic JSON attribute.
in
HasJsonAttributes at line 38
protected mixed
getJsonAttr(string $key, mixed $default = null, string $attrs = 'attrs')
Get a dynamic JSON attribute.
at line 29
Builder
scopeLabelTrees(Builder $query)
Scope a query to all models that represent label trees.
at line 41
Builder
scopeProjects(Builder $query)
Scope a query to all models that represent projects.
at line 53
Builder
scopeVolumes(Builder $query)
Scope a query to all models that represent volumes.
at line 63
BelongsTo
instance()
The instance, this model belongs to.
at line 73
BelongsToMany
users()
The users who can access this model.
at line 83
setThumbnailUrlAttribute(string $value)
Set the model thumbnail url attribute.
at line 93
array
getThumbnailUrlAttribute()
Get the model thumbnail url attribute.
at line 103
setThumbnailUrlsAttribute(array $value)
Set the model thumbnail urls attribute.
at line 113
Collection
getThumbnailUrlsAttribute()
Get the model thumbnail url attribute.